summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.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 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent25d5c1b4f8f0869657fbf9fed1334451faa5984a (diff)
downloadbcm5719-llvm-fb617d5365c2063eebf73170ee8ea7ad1f4cc98e.tar.gz
bcm5719-llvm-fb617d5365c2063eebf73170ee8ea7ad1f4cc98e.zip
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 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud