summaryrefslogtreecommitdiffstats
path: root/test/Index/skip-parsed-bodies
Commit message (Collapse)AuthorAgeFilesLines
* clang/test/Index/skip-parsed-bodies/compile_commands.json: Appease targeting ↵NAKAMURA Takumi2016-02-101-3/+3
| | | | | | msvc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260347 91177308-0d34-0410-b5e6-96231b3b80d8
* libclang: Enable skip-parsed-bodies on win32.NAKAMURA Takumi2016-02-101-1/+0
| | | | | | I guess it would be working since Rafael's r187619. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260344 91177308-0d34-0410-b5e6-96231b3b80d8
* Initialize the AST consumer as soon as we have both an ASTConsumer and anRichard Smith2015-08-181-1/+4
| | | | | | | | ASTContext. Fixes some cases where we could previously initialize the AST consumer more than once. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245346 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach compile_commands.json test that windows-gnu is the new name for mingw32.Yaron Keren2014-12-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224426 91177308-0d34-0410-b5e6-96231b3b80d8
* clang/test/Index/skip-parsed-bodies/compile_commands.json: Mark it as ↵NAKAMURA Takumi2013-01-311-1/+1
| | | | | | XFAIL:mingw32, for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174064 91177308-0d34-0410-b5e6-96231b3b80d8
* Return true from HeaderSearch::isFileMultipleIncludeGuarded if the fileArgyrios Kyrtzidis2012-12-104-0/+12
| | | | | | was #import'ed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169761 91177308-0d34-0410-b5e6-96231b3b80d8
* test/Index/skip-parsed-bodies/compile_commands.json: Remove XFAIL on cygming.NAKAMURA Takumi2012-12-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169566 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Add a test to make sure we skip bodies properly from "#pragma ↵Argyrios Kyrtzidis2012-12-064-1/+21
| | | | | | once" headers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169558 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Introduce a new indexing mode where we skip function bodiesArgyrios Kyrtzidis2012-12-066-0/+92
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