summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-16 23:23:30 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-16 23:23:30 +0000
commitc2b97994eacab6768efdc1e5c4710b6d2c741e8b (patch)
tree9b04c0dd0032ec58b8f7f8fe8b025b8dbc37ad95 /clang/lib/Driver/Tools.cpp
parent5b6198dfb93bbe014bc42017274415696c6bb953 (diff)
downloadbcm5719-llvm-c2b97994eacab6768efdc1e5c4710b6d2c741e8b.tar.gz
bcm5719-llvm-c2b97994eacab6768efdc1e5c4710b6d2c741e8b.zip
When libclang visits a translation unit via clang_visitChildren(),
walk the preprocessing record *before* walking the declarations, so they we pretend that we actually respect the phases of translation. We still walk the preprocessing record after the declarations when performing token annotation or finding the cursor at a location, since those routines depend on those semantics. Fixes <rdar://problem/9137195>. llvm-svn: 127776
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud