aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGExprComplex.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
commitfb617d5365c2063eebf73170ee8ea7ad1f4cc98e (patch)
treed8228811a6626bf3f0af4de0f4820cb06ff2dbe7 /clang/lib/CodeGen/CGExprComplex.cpp
parent25d5c1b4f8f0869657fbf9fed1334451faa5984a (diff)
downloadllvm-fb617d5365c2063eebf73170ee8ea7ad1f4cc98e.zip
llvm-fb617d5365c2063eebf73170ee8ea7ad1f4cc98e.tar.gz
llvm-fb617d5365c2063eebf73170ee8ea7ad1f4cc98e.tar.bz2
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. llvm-svn: 107816
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions