This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
5d6faed1f0
llvm-project
/
clang
/
test
/
Index
/
skip-parsed-bodies
/
t2.cpp
3 lines
40 B
C++
Raw
Normal View
History
Unescape
Escape
[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
2012-12-07 03:41:16 +08:00
#
include
"t.h"
[libclang] Add a test to make sure we skip bodies properly from "#pragma once" headers. llvm-svn: 169558
2012-12-07 07:04:24 +08:00
#
include
"pragma_once.h"