aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHReaderStmt.cpp
diff options
context:
space:
mode:
authorZhanyong Wan <wan@google.com>2010-07-07 21:36:58 +0000
committerZhanyong Wan <wan@google.com>2010-07-07 21:36:58 +0000
commit717cc00c16eabf0eefd3cc69394e97f7229af0c8 (patch)
treeba3212260c870bde0752bc3a008cf2044af60792 /lib/Frontend/PCHReaderStmt.cpp
parent3472430ae163ab0a4d2839db3d9b0d5a54871808 (diff)
Changes how the TypeLoc traverser invokes the Type traverser: before,
VisitFooTypeLoc() calls VisitFooType(); now, TraverseFooTypeLoc() calls WalkUpFromFooType(). This allows clients that override WalkUpFromFooType() to continue to work. It also preserves the property that Visit*() in the base visitor class is a no-op (s.t. a subclass doesn't have to call Base::Visit*() when overriding Visit*()). Also fixes some typos in comments. Also added a missing getDerived() inside TraverseQualifiedTypeLoc(). The call is needed in case a subclass overrides TraverseTypeLoc(). Reviewed by nlewycky and csilvers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderStmt.cpp')
0 files changed, 0 insertions, 0 deletions