aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-06 19:41:16 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-12-06 19:41:16 +0000
commit8b71bc7d6b05cb8383be9f193f9cb1051ea6d607 (patch)
treefee763f8b433c2c8923c5c767aa2c9400cb675a6 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentcb95a8fd20c7f9c700710094cdd326b279a19d51 (diff)
downloadllvm-8b71bc7d6b05cb8383be9f193f9cb1051ea6d607.zip
llvm-8b71bc7d6b05cb8383be9f193f9cb1051ea6d607.tar.gz
llvm-8b71bc7d6b05cb8383be9f193f9cb1051ea6d607.tar.bz2
[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. llvm-svn: 169539
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions