clang/tools
Douglas Gregor 04a9eb3f0d 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>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127776 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-16 23:23:30 +00:00
..
c-index-test c-index-test.c: Fix cygwin warning not to pass signed char to islower(c). 2011-03-09 03:02:28 +00:00
driver Refactor program name logic. Extend it to infer the target triple from 2011-03-16 20:15:43 +00:00
libclang When libclang visits a translation unit via clang_visitChildren(), 2011-03-16 23:23:30 +00:00
scan-build Compress argument processing in ccc-analyzer. No functionality change. 2011-03-16 21:10:42 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
Makefile libclang and c-index-test can be built on Cygming. 2010-11-09 03:25:21 +00:00