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
7541c32b2c
llvm-project
/
clang
/
test
/
Index
/
skip-parsed-bodies
/
t2.cpp
4 lines
61 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"
Return true from HeaderSearch::isFileMultipleIncludeGuarded if the file was #import'ed. llvm-svn: 169761
2012-12-11 04:08:37 +08:00
#
import "imported.h"