clang/test/Index
Eric Liu 51d76e9ec3 [Sema] Do not load macros from preamble when LoadExternal is false.
Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D52079

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342528 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-19 09:34:55 +00:00
..
Core [index] Enhance indexing for module references 2018-09-18 15:02:56 +00:00
Inputs [Tooling] Clear the PreambleSrcLocCache when preamble is discarded during reparsing 2018-03-12 19:36:29 +00:00
USR [Index] fix USR generation for namespace{extern{X}} 2018-02-02 14:13:37 +00:00
reparse-with-remaps Add a test I forgot to svn add in r197755 2013-12-20 00:21:47 +00:00
skip-parsed-bodies clang/test/Index/skip-parsed-bodies/compile_commands.json: Appease targeting msvc. 2016-02-10 01:45:51 +00:00
IBOutletCollection.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
KeepGoingWithLotsOfErrors.mm DiagnosticsEngine should clear DelayedDiagID before reporting the 2017-05-04 13:56:51 +00:00
TestClassDecl.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
TestClassForwardDecl.m [test] Attempt a change to see if it fixes the test for the windows bot. 2015-08-05 17:52:57 +00:00
allow-editor-placeholders.cpp [libclang] Pass in the -fallow-editor-placeholders option 2017-04-27 13:47:03 +00:00
annotate-attribute.cpp [libclang] Visit attributes for function and class templates 2017-10-16 23:43:02 +00:00
annotate-comments-availability-attrs.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
annotate-comments-objc.m [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
annotate-comments-preprocessor.c Handle include directive with comments. It turns out that in this case comments are not coming in source order. Instead of trying to std::sort() comments (which can be costly), just remove comments that are not in order. 2012-06-21 22:04:37 +00:00
annotate-comments-property-accessor.m comment parsing: when property accessors don't have comment 2013-01-12 00:28:34 +00:00
annotate-comments-typedef.m [Index] Make the USRs more stable. 2014-02-23 18:23:29 +00:00
annotate-comments-unterminated.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
annotate-comments.cpp [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
annotate-context-sensitive.cpp [libclang] Make token annotation of type/storage qualifiers accurate. 2013-01-07 19:16:27 +00:00
annotate-deep-statements.cpp Add ubsan/not_ubsan features to Clang lit tests and use 2014-09-03 19:46:32 +00:00
annotate-literals.m [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
annotate-macro-args.h [libclang] Annotate correctly macro argument tokens. 2011-08-18 18:03:34 +00:00
annotate-macro-args.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-module.m [libclang] Make sure to use the raw module format for libclang parsing. 2015-11-20 03:36:21 +00:00
annotate-nested-name-specifier.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
annotate-operator-call-expr.cpp [libclang] Fix cursors for arguments of Subscript and Call operators 2018-08-23 09:48:11 +00:00
annotate-parameterized-classes.m C++ support for Objective-C lightweight generics. 2015-07-07 03:58:14 +00:00
annotate-subscripting.m And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:06 +00:00
annotate-tokens-cxx0x.cpp Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +00:00
annotate-tokens-include.c Improve the implementation of libclang's token-annotation logic for 2010-10-21 06:10:04 +00:00
annotate-tokens-include.h Workaround a really serious caching bug in SourceManager::isBeforeInTranslationUnit() where the 2010-05-06 00:22:25 +00:00
annotate-tokens-pp.c Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-tokens-preamble.c Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
annotate-tokens-unexposed.cpp [libclang] Only mark CXCursors for explicit attributes with a type 2018-04-24 08:39:46 +00:00
annotate-tokens-with-default-args.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
annotate-tokens-with-default-args.h [libclang] Annotation of parameters that got default args from a previous declarations was 2011-07-30 17:23:26 +00:00
annotate-tokens.c Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-tokens.cpp [libclang] Fix cursors for functions with trailing return type 2018-01-03 14:35:48 +00:00
annotate-tokens.m C++ support for Objective-C lightweight generics. 2015-07-07 03:58:14 +00:00
annotate-toplevel-in-objccontainer.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
annotate-toplevel-in-objccontainer.m.h [PCH] Check for isTopLevelDeclInObjCContainer when picking abbreviations. 2011-11-23 21:11:23 +00:00
arc-annotate.m In VarDecl::getSourceRange() make sure to check that the source location 2012-10-08 23:08:41 +00:00
arc-complete.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
asm-attribute.c [libclang] Provide location for attributes and expose 'packed' attribute. 2013-09-25 00:14:38 +00:00
attributes-cuda.cu [CUDA] Added stubs for new attributes used by CUDA headers. 2015-08-10 20:33:56 +00:00
attributes.c [libclang 8/8] Add support for the flag_enum attribute 2018-08-03 05:55:40 +00:00
availability.c Recommit r305117: [libclang] Merge multiple availability clauses when 2017-06-12 19:06:30 +00:00
availability.cpp Expose cxx constructor and method properties through libclang and python bindings. 2016-04-27 12:48:25 +00:00
blocks.c Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
boxed-exprs.h [libclang] Add a test for objc boxed expressions. 2012-05-09 17:46:47 +00:00
boxed-exprs.m [libclang] Add a test for objc boxed expressions. 2012-05-09 17:46:47 +00:00
c-index-api-loadTU-test.m Indexer: add CXObjCPropertyAttr_class for class properties. 2016-05-31 23:22:04 +00:00
c-index-getCursor-pp.c [libclang] When getting the cursor for an identifier inside a macro definition, check if 2013-01-07 19:16:25 +00:00
c-index-getCursor-test.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
c-index-pch.c [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
c-index-redecls.c [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
c-index-unsupported-warning-test.c Fix crash in libclang if code completion is used with unknown flags. 2013-07-18 14:23:12 +00:00
cindex-from-source.m [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
cindex-on-invalid-usrs.m Extend warnings for missing '@end'. 2011-12-06 09:25:23 +00:00
cindex-on-invalid.m When translating a Clang source range into a libclang source range, 2011-04-20 21:16:21 +00:00
cindex-test-inclusions.c Show inclusions from a preamble in clang_getInclusions. 2016-01-06 15:12:51 +00:00
code-completion-skip-bodies.cpp clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr individually, rather than mixed output of stdout and stderr with 2>&1. 2013-01-17 07:27:55 +00:00
code-completion.cpp Fix templated type alias completion when using global completion cache 2017-09-08 09:31:13 +00:00
codecompletion-chained.cpp [PCH/Modules] In ASTReader::completeVisibleDeclsMap, make sure to visit all 2012-12-19 22:21:18 +00:00
comment-c-decls.c clang-format: Fix tests after recent change to ObjC block formatting. 2014-10-22 09:50:23 +00:00
comment-cplus-decls.cpp [DeclPrinter] Honor TerseOutput for constructors 2017-11-16 01:28:25 +00:00
comment-cplus-template-decls.cpp [Index/DocComments] When cloning a full comment, pick the template parameters from the original FullComment, 2014-04-27 22:53:03 +00:00
comment-cplus11-specific.cpp [document parsing]: support c++11 type aliases 2013-05-02 15:44:16 +00:00
comment-custom-block-command.cpp [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
comment-lots-of-unknown-commands.c Fix for PR21254 - Assertion in comment parser 2014-10-15 16:18:20 +00:00
comment-misc-tags.m Comment parsing: fix a bug where a line with whitespace between two paragraphs 2013-08-23 18:03:40 +00:00
comment-objc-decls.m Extend type nullability qualifiers for Objective-C. 2015-06-19 18:14:38 +00:00
comment-objc-parameterized-classes.m [Test Fix] Fix broken test Index/comment-objc-parameterized-classes.m 2018-04-12 16:00:05 +00:00
comment-to-html-xml-conversion-with-original-literals.cpp Print enum constant values using the original source formatting 2017-08-17 13:41:55 +00:00
comment-to-html-xml-conversion.cpp Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
comment-unqualified-objc-pointer.m Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties. 2013-09-27 20:21:48 +00:00
comment-with-preamble.c [libclang] Make sure the preable does not truncate comments. 2013-04-19 23:24:25 +00:00
comment-xml-schema.c Comment parsing tests: XML schema: actually run the valid-function-10.xml test 2013-11-22 01:47:15 +00:00
compile_commands.json [libclang] add CompilationDatabase support 2012-06-30 11:27:57 +00:00
complete-access-checks-crash.cpp [CodeComplete] Fix the crash in code completion on access checking 2018-07-30 15:19:05 +00:00
complete-access-checks.cpp [CodeComplete] Fix accessibilty of protected members from base class. 2018-07-19 13:32:00 +00:00
complete-and-plugins.c [Frontend] Avoid running plugins during code completion parse 2018-05-17 09:21:07 +00:00
complete-arrow-dot.cpp [libclang] Optionally add code completion results for arrow instead of dot 2018-06-13 12:37:08 +00:00
complete-at-EOF.c [libclang] If the code-completion point is inside the preamble, adjust the position at the beginning of the file after the preamble. 2014-10-18 06:23:50 +00:00
complete-at-directives.m Switch c-index-test from clang_codeComplete() over to 2010-10-11 21:37:58 +00:00
complete-at-exprstmt.m Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
complete-available.m [clang] Remove redundant check-prefix=CHECK from tests. NFC. 2017-07-17 17:31:44 +00:00
complete-block-properties.m [CodeCompletion] Format block parameter placeholders in implicit property 2017-03-13 15:43:42 +00:00
complete-block-property-assignment.m [clang] Make sure codecompletion is called for calls even when inside a token. 2018-09-10 13:46:28 +00:00
complete-blocks.m [libclang] Fix code-completion of block parameters that are marked with nullability specifier. 2015-07-07 06:20:22 +00:00
complete-cached-globals.cpp [Sema] UsingShadowDecl shouldn't be hidden by the UsingDecl that owns it 2017-01-23 17:23:23 +00:00
complete-call.cpp Fix line endings in recently updated test file 2018-06-21 12:39:24 +00:00
complete-categories.m De-XFAIL some win32 tests that are now passing 2010-02-21 20:58:24 +00:00
complete-constructor-params.cpp Don't show deleted function (constructor) candidates for code completion 2017-09-08 10:23:08 +00:00
complete-ctor-inits.cpp Try to fix the test harder, it still fails on windows for unknown reasons. 2015-07-10 13:04:41 +00:00
complete-cxx-inline-methods.cpp Avoid printing some redundant name qualifiers in completion 2017-11-08 10:39:09 +00:00
complete-declarators.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-declarators.m [Parser] Don't code-complete twice. 2013-03-27 23:58:17 +00:00
complete-designated-initializer.m [CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers 2017-01-03 11:56:40 +00:00
complete-documentation-properties.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
complete-documentation-templates.cpp Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
complete-documentation.cpp Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
complete-enums.c When determining the availability of an enum constant, also consider 2012-03-17 06:39:06 +00:00
complete-enums.cpp Don't do jump-scope checking when code completion is enabled. It's 2012-08-17 05:12:08 +00:00
complete-exprs.c [CodeComplete] Fix completion at the end of keywords 2018-04-24 13:48:53 +00:00
complete-exprs.cpp [CodeComplete] Omit templated constructors from member list too. 2018-01-22 20:44:47 +00:00
complete-exprs.m Make the spacing of the code completion result for NSDictionary 2012-08-17 05:40:05 +00:00
complete-functor-call.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +00:00
complete-hiding.c Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-in-invalid-method.m Make parsing of objc @implementations more robust. 2012-02-07 16:50:53 +00:00
complete-in-stringify.c Handle a code-completion token being passed to the macro stringify operator. 2011-09-04 03:32:19 +00:00
complete-interfaces.m [completion] complete ObjC interface names in an expression 2017-11-14 01:46:24 +00:00
complete-ivar-access.m Force test to use the non-fragile ABI 2011-11-03 19:58:50 +00:00
complete-kvc.m [CodeCompletion][ObjC] Use a parameterized NSSet return type for 2016-12-08 16:49:05 +00:00
complete-lambdas.cpp Implement code completion support for lambda capture lists. 2012-02-15 15:34:24 +00:00
complete-lambdas.mm Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
complete-macro-args.c [libclang] Fix assertion hit when code-completing inside a function macro with more 2013-02-22 22:28:58 +00:00
complete-macros.c [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
complete-macros.h [Preprocessor/CodeComplete] Don't add include guard macros to code-completion results. 2014-04-09 18:21:23 +00:00
complete-member-access.m Handle pseudo-object expressions (and any other placeholder 2012-01-23 15:59:30 +00:00
complete-memfunc-cvquals.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-method-decls.m [code completion] Complete ObjC methods in @implementation without leading 2017-10-24 16:39:37 +00:00
complete-module-undef.m Avoid a crash after loading an #undef'd macro in code completion 2014-09-30 20:00:18 +00:00
complete-modules.m [libclang] Make sure to use the raw module format for libclang parsing. 2015-11-20 03:36:21 +00:00
complete-natural.m Introduce a new libclang aPI function, 2011-07-07 16:03:39 +00:00
complete-objc-message-id.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-objc-message.m [CodeCompletion] Ensure that ObjC root class completes instance 2017-01-24 14:15:08 +00:00
complete-optional-params.cpp Add default values for function parameter chunks 2017-07-19 10:45:40 +00:00
complete-parameterized-classes.m [code-completion] Strip outer nullability annotations when completing method implementations. 2015-07-24 17:00:19 +00:00
complete-pch-skip.cpp [Sema] Do not load macros from preamble when LoadExternal is false. 2018-09-19 09:34:55 +00:00
complete-pch.m [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
complete-pointer-and-reference-to-functions.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +00:00
complete-preamble.cpp [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
complete-preamble.h [ASTUnit] Clear out diagnostic state after creating the preamble. 2017-02-13 16:16:43 +00:00
complete-preprocessor.m [CodeComplete] Fix completion at the end of keywords 2018-04-24 13:48:53 +00:00
complete-properties.m [CodeCompletion] Provide Objective-C class property completion results 2016-12-08 15:09:40 +00:00
complete-property-flags.m Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
complete-property-getset.m Extend code-completion results with the type of each result 2009-12-18 18:53:37 +00:00
complete-protocols.m Don't walk the translation unit context to produce protocol names when 2010-12-09 21:44:02 +00:00
complete-qualified.cpp Set completion priority of destructors and operators to CCP_Unlikely. 2017-09-22 19:07:37 +00:00
complete-recovery.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-stmt.c Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
complete-super.cpp Do not add a colon chunk to the code completion of class inheritance access modifiers 2017-10-24 13:46:58 +00:00
complete-super.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-synthesized.m Add a target triple to test/Index/complete-synthesized.m. 2012-04-10 17:23:51 +00:00
complete-tabs.c Add a test case for code-completion in the presence of tabs 2010-01-07 00:40:35 +00:00
complete-template-friends-defined.cpp PR13699: Include friend declarations in code completion results if they had a 2015-01-15 02:27:20 +00:00
complete-templates.cpp Get rid of the lame attempt to prioritize "void" functions at 2010-09-20 21:25:19 +00:00
complete-type-factors.m Initial support for C++ parameter completion 2015-01-21 16:24:11 +00:00
complete-unterminated.c Don't emit end-of-file diagnostics like "unterminated conditional" or 2010-08-12 17:04:55 +00:00
complete-with-annotations.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
crash-preamble-classes.cpp [Sema] Add implicit members even for invalid CXXRecordDecls 2018-02-02 08:40:08 +00:00
crash-recovery-code-complete.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
crash-recovery-modules.m Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
crash-recovery-reparse.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
crash-recovery.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
create-libclang-completion-reproducer.c Recommit r329442: Generate Libclang invocation reproducers using a new 2018-04-07 00:03:27 +00:00
create-libclang-parsing-reproducer.c Recommit r329442: Generate Libclang invocation reproducers using a new 2018-04-07 00:03:27 +00:00
create-tu-fail.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
ctor-init-source-loc.cpp Recommit r306103: PR26195: Set correct NestedNameSpecifierLoc for the 2017-06-27 10:35:30 +00:00
cursor-dynamic-call.mm [libclang] Enhance clang_Cursor_isDynamicCall and clang_Cursor_getReceiverType to handle ObjC property references 2017-04-27 17:23:04 +00:00
cursor-ref-names.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
cxx-operator-overload.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx11-lambdas.cpp [libclang] Use same USR encoding for 'class' as 'struct'. 2014-12-08 08:48:33 +00:00
error-on-deserialized.c Move not past env. 2013-07-25 14:52:56 +00:00
evaluate-cursor.cpp [libclang] Add APIs to check the result of an integer expression in CXEvalResult without overflow 2016-12-01 23:41:27 +00:00
file-includes.c Have SourceManager::getLocForEndOfFile() point at the "EOF" location of the FileID. 2013-05-07 04:29:22 +00:00
file-macro-refs.c [libclang] Make the test portable. 2011-11-29 05:48:01 +00:00
file-refs-subscripting.m And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:06 +00:00
file-refs.c [libclang] Introduce clang_findReferencesInFile which accepts a cursor, a file, 2011-10-06 07:00:54 +00:00
file-refs.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
file-refs.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
fix-its.c Format strings: don't ever convert %+d to %lu. 2013-01-17 22:34:10 +00:00
fix-its.m Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
format-comment-cdecls.c clang-format: Fix tests after recent change to ObjC block formatting. 2014-10-22 09:50:23 +00:00
get-cursor-includes.c When determining which preprocessed entities to traverse in libclang, 2010-12-21 19:07:48 +00:00
get-cursor-macro-args.h When associating file ranges of macro arguments with their 2012-10-20 00:51:32 +00:00
get-cursor-macro-args.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
get-cursor.c [libclang] During member ref expression visitation, ignore base anonymous struct/union fields. 2015-03-13 04:40:07 +00:00
get-cursor.cpp [libclang] Stop assuming that the internal C++ ABI ExceptionSpecificationType enumeration is the same as CXCursor_ExceptionSpecificationKind. 2018-05-11 19:46:31 +00:00
get-cursor.m [libclang] Introduce clang_Cursor_isExternalSymbol that provides info about decls marked with external_source_symbol attribute 2017-05-10 15:10:36 +00:00
getcursor-pp-pch.c [libclang] When pointing at a macro expansion inside a macro argument, 2011-09-20 23:27:33 +00:00
getcursor-pp-pch.c.h [libclang] When pointing at a macro expansion inside a macro argument, 2011-09-20 23:27:33 +00:00
getcursor-preamble.h Mark a struct definition in an objc container with the TopLevelDeclInObjCContainer bit. 2013-01-29 18:00:54 +00:00
getcursor-preamble.m clang/test/Index/getcursor-preamble.m: Formatting. 2013-01-29 23:03:22 +00:00
headerfile-comment-to-html.m Fix typos in clang 2018-04-06 15:14:32 +00:00
implicit-attrs.m [libclang 6/8] Add support for reading implicit attributes 2018-08-03 05:20:23 +00:00
in-class-init.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
include_test.h Implement 'clang_getInclusions()' in CIndex. This API allows clients to walk the set of files included in a translation unit via the C API. 2010-01-26 19:31:51 +00:00
include_test_2.h Implement 'clang_getInclusions()' in CIndex. This API allows clients to walk the set of files included in a translation unit via the C API. 2010-01-26 19:31:51 +00:00
index-attrs.c Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
index-attrs.cpp Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
index-attrs.m [libclang 5/8] Add support for ObjC attributes without args 2018-08-03 05:03:22 +00:00
index-decls.m [index] Improvde how we handle synthesized ObjC properties and the associated ivars. 2017-02-17 04:49:41 +00:00
index-file.cpp Expose cxx constructor and method properties through libclang and python bindings. 2016-04-27 12:48:25 +00:00
index-file.cu [cuda] Driver changes to compile and stitch together host and device-side CUDA code. 2015-07-13 23:27:56 +00:00
index-invalid-code.m [Sema] A tag decl that is marked as invalid and is used in a decl-spec, 2012-03-10 03:20:58 +00:00
index-kernel-invocation.cpp [driver] When creating the compiler invocation out of command-line 2012-05-21 20:11:54 +00:00
index-many-call-ops.cpp [test] After r262290 reducing stack usage, try re-enabling asan on the related test. 2016-03-01 04:40:20 +00:00
index-many-logical-ops.c [test] Re-enable asan on the test, stack usage should be lower. 2016-03-03 05:33:48 +00:00
index-module-with-vfs.m Honour -ivfsoverlay in ASTUnit to match clang 2014-04-15 18:16:25 +00:00
index-module.m [coroutines] Support "coroutines" feature in module map requires clause 2017-05-28 21:07:22 +00:00
index-pch-objc.m [test] Add '-target' option to fix bot failure. 2014-06-21 18:28:44 +00:00
index-pch-with-module.m Initialize the AST consumer as soon as we have both an ASTConsumer and an 2015-08-18 20:39:29 +00:00
index-pch.cpp Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
index-refs.cpp [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
index-refs.m [index] libclang: Make sure to treat forward ObjC protocols as ObjCProtocolRef declarations, and fix related crash. 2016-03-09 02:12:46 +00:00
index-subscripting-literals.m [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
index-suppress-refs.cpp [libclang] Add a libclang test I neglected to commit. 2012-02-09 18:31:22 +00:00
index-suppress-refs.h [libclang] Suppress indexing references for occurrences of the interface 2011-12-15 00:04:56 +00:00
index-suppress-refs.hpp [libclang] Add a libclang test I neglected to commit. 2012-02-09 18:31:22 +00:00
index-suppress-refs.m Rename -fmodule-cache-path <blah> to -fmodules-cache-path=<blah> for consistency. 2013-02-07 19:01:24 +00:00
index-template-specialization.cpp [Index] Set OrigD before D is changed. 2018-07-20 08:08:56 +00:00
index-template-template-param.cpp Fix indexer crash for default template template parameter value 2017-10-10 21:09:49 +00:00
index-templates.cpp [index] Add indexing for unresolved-using declarations 2017-08-16 23:12:21 +00:00
index-with-working-dir.c [options] Fix mishandling of aliased options that was introduced in r166444. 2012-10-26 19:36:33 +00:00
initializer-memory.cpp Don't waste memory if the initializer expression is empty. 2011-04-28 18:53:55 +00:00
invalid-code-rdar10451854.m [libclang] Fix crash on invalid code. Fixes rdar://10451854 2011-11-16 02:35:10 +00:00
invalid-code-rdar_7833619.m Fix CIndex crash on invalid code reported in <rdar://problem/7833619>. 2010-04-07 00:27:13 +00:00
invalid-rdar-8236270.cpp Remove unnecessary and incorrect redirection of stderr. 2012-01-20 22:01:45 +00:00
keep-going.cpp [modules] Round-trip -Werror flag through explicit module build. 2017-05-03 00:28:49 +00:00
linkage.c Change enumerator default linkage type for C 2017-07-01 00:06:27 +00:00
load-classes.cpp [libclang] Add support for checking abstractness of records 2017-12-14 22:01:50 +00:00
load-decls.c Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +00:00
load-exprs.c When libclang visits a translation unit via clang_visitChildren(), 2011-03-16 23:23:30 +00:00
load-namespaces.cpp Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +00:00
load-staticassert.cpp [test] Test that static_assert is properly visited in liblcang 2016-11-04 12:04:16 +00:00
load-stmts.cpp Add -frtti/-fexceptions to some more tests that assume they're on 2015-02-26 18:29:41 +00:00
local-symbols.m [libclang] Have clang_getCursorSpelling() return the string for a CXCursor_ObjCStringLiteral or CXCursor_StringLiteral cursor. 2014-03-03 19:40:52 +00:00
missing_vfs.c [vfs] Don't bail out after a missing -ivfsoverlay file 2018-03-23 17:37:27 +00:00
modules-objc-categories.m [libclang] Add test case for r178374. 2013-03-29 22:16:32 +00:00
ms-if-exists.cpp Turn off delayed template parsing for this test 2011-10-25 20:12:15 +00:00
namespaced-base-ctor-init.cpp Preserve source location information for qualified names used in a constructor 2015-12-12 02:17:54 +00:00
nested-binaryoperators.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
nullability.c [libclang 4/8] Add the clang_Type_getNullability() API 2018-08-03 04:38:04 +00:00
objc-typeargs-protocols.m [libclang 1/8] Add support for ObjCObjectType 2018-08-03 03:03:20 +00:00
opencl-types.cl [Index] Update tests allowing double4 type to be "invalid" 2018-09-03 12:43:26 +00:00
overrides.cpp libclang: add a function to check whether a member function is pure virtual 2013-05-17 18:38:35 +00:00
overrides.m [libclang] c-index-test: Make the printing of the overrides list of a cursor in 2012-08-22 23:15:52 +00:00
overriding-ftemplate-comments.cpp Fix an Index test caused by a clang-format change (r332436). 2018-05-16 12:58:13 +00:00
overriding-method-comments.mm [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +00:00
paren-type.c [libclang] Fix the type of 'int (Foo);' 2018-05-01 20:45:25 +00:00
parse-all-comments.c [test/Index] Update libclang tests to use libclang for creating PCH files. 2015-08-05 17:23:59 +00:00
pch-depending-on-deleted-module.c [modules] PR22534: Load files specified by -fmodule-file= eagerly. In particular, this avoids the need to re-parse module map files when using such a module. 2015-08-09 08:48:41 +00:00
pch-from-libclang.c [GeneratePCHAction] If preprocessor option 'AllowPCHWithCompilerErrors' is enabled, don't delete the produced PCH file if error diagnostics occurred. 2017-02-27 03:52:36 +00:00
pch-opaque-value.cpp [PCH] Make sure that the SourceExpr of a OpaqueValueExpr is always initialized 2011-12-03 03:49:52 +00:00
pch-warn-as-error-code-split.cpp [test] Add 'env' to fix test failures in windows bots. 2016-07-13 22:03:47 +00:00
pch-warn-as-error-code-split.h [PCH/preamble] Make sure that if the preamble/PCH was serialized with errors that we set diagnostic engine state appropriately. 2016-07-13 20:35:26 +00:00
pch-warn-as-error-code.cpp [PCH/preamble] Make sure that if the preamble/PCH was serialized with errors that we set diagnostic engine state appropriately. 2016-07-13 20:35:26 +00:00
pch-with-errors.c clang/test/Index/pch-with-errors.c: Remove XFAIL added in r206294. It has been fixed since r206644. 2014-04-19 16:49:22 +00:00
pch-with-errors.m [PCH] Fix a PCH serialization crash, with invalid code related to forward enum references. 2013-08-07 21:17:33 +00:00
pch-with-module.m Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
pipe-size.cl [OpenCL] Add separate read_only and write_only pipe IR types 2018-04-27 10:37:04 +00:00
pr20320.cpp Mark invalid RecordDecls as completed. 2016-10-27 08:37:14 +00:00
pr20320.h Mark invalid RecordDecls as completed. 2016-10-27 08:37:14 +00:00
pragma-diag-reparse.c [PCH] Fix reading from PCH of diagnostic pragmas. 2011-11-09 01:24:17 +00:00
preamble-conditionals-crash.cpp Fixed a crash on replaying Preamble's PP conditional stack. 2017-08-21 12:03:08 +00:00
preamble-conditionals-inverted-with-error.cpp Fix recording preamble's conditional stack in skipped PP branches. 2017-09-12 08:35:57 +00:00
preamble-conditionals-inverted.cpp [preamble] Also record the "skipping" state of the preprocessor 2017-11-03 09:40:07 +00:00
preamble-conditionals-skipping.cpp [preamble] Also record the "skipping" state of the preprocessor 2017-11-03 09:40:07 +00:00
preamble-conditionals.cpp Fixed a crash on replaying Preamble's PP conditional stack. 2017-08-21 12:03:08 +00:00
preamble-reparse-chained.c Fixed TypedefDecl and TemplateTypeParameter source range. 2011-03-06 15:48:19 +00:00
preamble-reparse-cmd-define.c [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
preamble-reparse-cmd-define.c.h [libclang] In ASTUnit::Parse copy the CompilerInvocation object instead of 2011-09-12 18:09:38 +00:00
preamble-reparse-cmd-define.c.remap [libclang] In ASTUnit::Parse copy the CompilerInvocation object instead of 2011-09-12 18:09:38 +00:00
preamble-reparse-import.m [PCH] When chaining a PCH and serializing HeaderSearch, make sure the HeaderFileInfos 2011-11-13 22:08:39 +00:00
preamble-reparse-import.m-1.h [PCH] When chaining a PCH and serializing HeaderSearch, make sure the HeaderFileInfos 2011-11-13 22:08:39 +00:00
preamble-reparse-import.m-2.h [PCH] When chaining a PCH and serializing HeaderSearch, make sure the HeaderFileInfos 2011-11-13 22:08:39 +00:00
preamble-reparse-import.m-3.h [PCH] When chaining a PCH and serializing HeaderSearch, make sure the HeaderFileInfos 2011-11-13 22:08:39 +00:00
preamble-reparse-warn-end-of-file.c clang/test/Index/preamble-reparse-warn-*.c: Stabilize on win32. 2014-03-10 06:02:13 +00:00
preamble-reparse-warn-macro.c clang/test/Index/preamble-reparse-warn-*.c: Stabilize on win32. 2014-03-10 06:02:13 +00:00
preamble-reparse-with-BOM.m [libclang] Allow building a precompiled preamble with compiler errors 2013-06-11 00:36:55 +00:00
preamble-reparse.c [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
preamble-with-implicit-import.m [Modules] Don't infinite recurse on implicit import of circular modules in preamble 2016-02-11 17:04:42 +00:00
preamble.c [Preprocessor] Pass TranslationUnitKind to the preprocessor and if it is TU_Prefix 2014-03-07 07:47:58 +00:00
preamble_macro_template.cpp Add libclang capabilities to retriete template arguments from specializations. 2014-10-10 20:01:05 +00:00
print-bitwidth.c libclang: Add a function to libclang for retrieving the bit width value 2012-12-04 15:13:46 +00:00
print-cxx-manglings.cpp Index: provide adjustment thunk information for C++ manglings 2016-02-06 22:36:34 +00:00
print-display-names.cpp [libclang] Add PrintingPolicy for pretty printing declarations 2018-01-16 10:19:56 +00:00
print-mangled-name.cpp Make clang_Cursor_getMangling not mangle if the declaration isn't mangled 2015-10-08 00:01:20 +00:00
print-objc-manglings.m [index] Generate class & metaclass manglings for objc 2017-09-22 16:58:57 +00:00
print-type-cxx11.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
print-type-declaration.cpp [libclang] Support for querying whether an enum is scoped 2017-07-12 11:35:11 +00:00
print-type-size.cpp [libclang] Support querying whether a declaration is invalid 2018-01-04 10:59:50 +00:00
print-type.c [libclang] Fix the type of 'int (Foo);' 2018-05-01 20:45:25 +00:00
print-type.cpp [libclang] Return the proper pointee type for 'auto' deduced to pointer 2018-09-07 13:23:51 +00:00
print-type.m [libclang 2/8] Add support for ObjCTypeParam 2018-08-03 04:02:40 +00:00
print-usrs.c Rework USR generation for symbols with no linkage. Many of the USRs are now shortened, 2010-04-16 21:31:52 +00:00
properties-class-extensions.m [libclang] Sync-up the way top-level decls in an ASTUnit are handled with how decls in a DeclContext are handled. 2016-07-01 19:10:54 +00:00
property-getter-setter.m [libclang 7/8] Add support for getting property setter and getter names 2018-08-03 05:38:29 +00:00
rdar-8288645-invalid-code.mm Restore patch I reversed in r138040. Known buildbot 2011-08-22 15:54:49 +00:00
rdar12316296-codecompletion.m [PCH] After deserializing a DeclContext, if it has external lexical decls but not 2012-09-21 01:30:00 +00:00
read-empty-diags.test [Frontend] Verify that the bitstream is not empty before reading 2017-07-07 10:25:12 +00:00
record-completion-invocation.c [libclang] Record code-completion invocations to a temporary file when 2017-12-07 20:37:50 +00:00
record-parsing-invocation.c Fix another record-parsing-invocation.c test issue on Windows 2017-12-05 23:04:12 +00:00
recover-bad-code-rdar_7487294.c [lit] Improve tool substitution in lit. 2017-10-06 17:54:46 +00:00
recursive-cxx-member-calls.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
recursive-member-access.c Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
redeclarations.cpp Disalbe more Microsoft-specific stuff. 2011-10-26 23:19:04 +00:00
remap-complete.c [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
remap-cursor-at.c [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
remap-load.c [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
reparse-instantiate.cpp ASTConsumer::handleTopLevelDecl will end up getting called for 2011-11-07 18:53:57 +00:00
reparse-predef-objc-protocol.m Fix the rececl chain for redeclarations of predefined decls 2014-08-18 19:32:45 +00:00
reparsed-live-issue.cpp Add missing "env" so that test added in r327322 passes on Windows bots. 2018-03-13 00:41:44 +00:00
retain-comments-from-system-headers.c [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
retain-target-options.c Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
single-file-parse.m [preprocessor] Fix assertion hit when 'SingleFileParseMode' option is enabled and #if with an undefined identifier and without #else 2017-06-21 18:52:44 +00:00
skipped-bodies-ctors.cpp [Frontend] Correctly handle instantiating ctors with skipped bodies 2017-12-28 13:05:46 +00:00
skipped-bodies-templates.cpp [Frontend] Handle skipped bodies in template instantiations 2017-12-20 14:32:38 +00:00
skipped-function-bodies.cpp Renamed test file to use proper naming convention 2017-12-14 14:51:17 +00:00
skipped-ranges.c [Lexer] Report more precise skipped regions (PR34166) 2017-09-11 20:47:42 +00:00
subclass-comment.mm Comment parsing tests: move tests where they belong 2013-08-19 07:13:02 +00:00
symbol-visibility.c clang-c: Add the clang_getCursorVisibility() API 2016-05-31 15:55:51 +00:00
target-info.c [libclang] Expose some target information via the C API. 2017-04-28 15:56:39 +00:00
targeted-annotation.c [PCH/modules] Require the preprocessing record option to match the used PCH, if modules are enabled. 2013-04-26 21:33:40 +00:00
targeted-cursor.c [libclang] Make sure pointing inside the #include of the fields will return the struct. 2011-11-03 19:02:30 +00:00
targeted-cursor.m [libclang] Add a triple to the test. 2012-02-24 19:45:42 +00:00
targeted-cursor.m.h [PCH] When keeping track of top-level decls for "targeted deserialization" 2012-02-24 01:12:38 +00:00
targeted-fields.h [libclang] Add infrastructure to be able to only deserialize decls in a file region and 2011-11-03 02:20:32 +00:00
targeted-file-refs.c [libclang] Make clang_findReferencesInFile use "file-targeted" deserialization and avoid 2011-11-16 08:58:54 +00:00
targeted-nested1.h [libclang] Add infrastructure to be able to only deserialize decls in a file region and 2011-11-03 02:20:32 +00:00
targeted-preamble.h [libclang] Add infrastructure to be able to only deserialize decls in a file region and 2011-11-03 02:20:32 +00:00
targeted-top.h [libclang] Add infrastructure to be able to only deserialize decls in a file region and 2011-11-03 02:20:32 +00:00
unmatched-braces.c [parser] If there are unmatched braces in a function definition, try to 2012-03-24 02:26:51 +00:00
unmatched-braces.m [parser] If there are unmatched braces in a function definition, try to 2012-03-24 02:26:51 +00:00
usrs-cxx0x.cpp [libclang] Use same USR encoding for 'class' as 'struct'. 2014-12-08 08:48:33 +00:00
usrs.cpp [index] Handle vector types in USR generator 2017-04-28 09:46:36 +00:00
usrs.m [modules] Teach clang how to merge typedef over anonymous structs in C mode. 2017-07-01 20:44:49 +00:00
visibility.c Index: expose visibility attribute 2015-09-05 18:53:43 +00:00
warning-flags.c [tests] Remove calls to grep 2015-08-10 07:01:11 +00:00
werror.c [PCH] Mark a PCH file with a flag to indicate if the serialized AST had 2012-03-07 01:51:17 +00:00