diff options
author | Zhanyong Wan <wan@google.com> | 2010-07-07 21:36:58 +0000 |
---|---|---|
committer | Zhanyong Wan <wan@google.com> | 2010-07-07 21:36:58 +0000 |
commit | fb617d5365c2063eebf73170ee8ea7ad1f4cc98e (patch) | |
tree | d8228811a6626bf3f0af4de0f4820cb06ff2dbe7 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 25d5c1b4f8f0869657fbf9fed1334451faa5984a (diff) | |
download | bcm5719-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