clang-1/tools/c-index-test
Argyrios Kyrtzidis 838eb7e865 [libclang] Introduce a new indexing mode where we skip function bodies
that were already parsed in the same "indexing session".

An indexing session is defined as using the same CXIndexAction object
for multiple clang_indexSourceFile calls.
Passing CXIndexOpt_SkipParsedBodiesInSession as an indexing option will
enable the mode where we try to skip bodies that were already parsed in
another translation unit.

If a function's body was skipped, the "flags" field in the CXIdxDeclInfo
structure will have "CXIdxDeclFlag_Skipped" bit was set.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169539 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-06 19:41:16 +00:00
..
CMakeLists.txt Force C89 for c-index-test.c 2012-11-07 23:52:25 +00:00
Makefile [c-index-test] Do install c-index-test because it's not just for tests, 2012-11-06 02:12:21 +00:00
c-index-test.c [libclang] Introduce a new indexing mode where we skip function bodies 2012-12-06 19:41:16 +00:00