hanchenye-llvm-project/clang/test/Index
Argyrios Kyrtzidis 5c8b1cd220 [libclang] Always report a CXCursor_MacroDefinition for code-completion
results for a macro name, not CXCursor_NotImplemented.

llvm-svn: 164740
2012-09-27 00:24:09 +00:00
..
Inputs Add tests for r163778. 2012-09-13 17:25:51 +00:00
IBOutletCollection.m [libclang] Correct annotation and taking of cursor for objc class references 2011-09-13 18:49:56 +00:00
TestClassDecl.m [libclang] In clang::getCursorKindForDecl() don't return "UnexposedDecl" 2012-01-24 21:39:26 +00:00
TestClassForwardDecl.m [libclang] In clang::getCursorKindForDecl() don't return "UnexposedDecl" 2012-01-24 21:39:26 +00:00
annotate-attribute.cpp Fixed merge-mistake where ActOnAccessSpecifier was called twice for every access specifier. The testcase has been changed to catch this too. 2011-10-17 09:54:52 +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-unterminated.c Cleanup \brief comment. Since it is a single paragraph, no need to save newlines there. 2012-06-28 01:38:21 +00:00
annotate-comments.cpp Comment AST: TableGen'ize all command lists in CommentCommandTraits.cpp. 2012-09-10 20:32:42 +00:00
annotate-context-sensitive.cpp [libclang] 2011-09-13 17:39:31 +00:00
annotate-deep-statements.cpp [libclang] The annotation of tokens operation visits statement nodes code-recursively. 2012-09-01 18:27:30 +00:00
annotate-literals.m And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:06 +00:00
annotate-macro-args.h [libclang] Annotate correctly macro argument tokens. 2011-08-18 18:03:34 +00:00
annotate-macro-args.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
annotate-nested-name-specifier.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00: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 Implement a new type trait __is_trivially_constructible(T, Args...) 2012-02-24 07:38:34 +00:00
annotate-tokens-include.c
annotate-tokens-include.h
annotate-tokens-pp.c For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded 2011-12-21 16:56:29 +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-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 Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
annotate-tokens.cpp [libclang] For CXXOperatorCallExprs, give a valid source location to the DeclRefExpr 2012-02-08 01:21:13 +00:00
annotate-tokens.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
annotate-toplevel-in-objccontainer.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +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 Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
arc-complete.m Automatic Reference Counting. 2011-06-15 23:02:42 +00:00
asm-attribute.c [libclang] API enhancements by Joe Groff! 2011-12-06 22:05:01 +00:00
availability.c Robustify test 2012-05-08 00:29:04 +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 Introduce a new libclang API to determine the platform availability of 2012-05-08 00:14:45 +00:00
c-index-getCursor-pp.c [libclang] Fix getting a cursor inside an angled #include directive. 2012-09-11 02:17:21 +00:00
c-index-getCursor-test.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
c-index-pch.c Kill of the Decl::PCHLevel field entirely. We now only need to know 2011-09-10 00:09:20 +00:00
c-index-redecls.c
cindex-from-source.m
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
code-completion.cpp New libclang API to expose container type for code completion, from 2011-07-21 01:05:26 +00:00
comment-xml-schema.c Comment AST: DeclInfo: add a special kind for enums. 2012-08-07 18:59:04 +00:00
compile_commands.json [libclang] add CompilationDatabase support 2012-06-30 11:27:57 +00:00
complete-access-checks.cpp Added CXAvailability_NotAccessible to indicate that a declaration is available, but not accessible from the current code completion context. 2011-10-06 07:27:49 +00:00
complete-at-directives.m
complete-at-exprstmt.m Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
complete-blocks.m Don't format the code completion for parameters of block literal 2011-10-18 04:23:19 +00:00
complete-categories.m
complete-ctor-inits.cpp
complete-cxx-inline-methods.cpp Reland r160052: Default to -std=c++11 on Windows. 2012-08-30 02:08:31 +00:00
complete-declarators.cpp
complete-declarators.m Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
complete-documentation-templates.cpp Attaching comments to declarations: when documentation is requested for an 2012-08-22 17:44:32 +00:00
complete-documentation.cpp [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-driver-errors.c
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 Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
complete-exprs.cpp [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-exprs.m Make the spacing of the code completion result for NSDictionary 2012-08-17 05:40:05 +00:00
complete-hiding.c
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 When performing code completion after at @interface, allow both 2011-07-30 06:55:39 +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 Tweak code completions for Objective-C Key-Value Observing. The 2011-06-02 04:02:27 +00:00
complete-lambdas.cpp Implement code completion support for lambda capture lists. 2012-02-15 15:34:24 +00:00
complete-lambdas.mm [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-macro-args.c [libclang] Support code-completion inside macro arguments. 2011-08-18 19:41:28 +00:00
complete-macros.c Fix the code completion string for variadic macros with more than one 2012-01-21 00:43:38 +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
complete-method-decls.m [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-modules.m Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
complete-natural.m Introduce a new libclang aPI function, 2011-07-07 16:03:39 +00:00
complete-objc-message-id.m Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
complete-objc-message.m [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-pch.m
complete-preamble.cpp [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-preamble.h When we need the complete set of visible declarations from a 2012-08-17 05:26:33 +00:00
complete-preprocessor.m [libclang] Always report a CXCursor_MacroDefinition for code-completion 2012-09-27 00:24:09 +00:00
complete-properties.m When code completion walks the members of a protocol or interface, 2012-06-12 13:44:08 +00:00
complete-property-flags.m Use -fobjc-runtime=macosx10.7 instead of obsolete -fobjc-runtime-has-weak. 2012-08-20 21:55:33 +00:00
complete-property-getset.m
complete-protocols.m
complete-qualified.cpp [libclang] Remove the ParentKind cursor kind from code-completion results. 2012-09-26 16:39:56 +00:00
complete-recovery.m Test case for fix committed in r145441. 2011-11-30 23:03:25 +00:00
complete-stmt.c If code completion patterns are not enabled, use simpler else/else if 2012-02-16 17:49:04 +00:00
complete-super.cpp Don't include the ':' following code-completion suggestions for 2012-04-10 17:56:28 +00:00
complete-super.m Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +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
complete-templates.cpp
complete-type-factors.m Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
complete-unterminated.c
complete-with-annotations.cpp Fix an old (2009) FIXME: 2012-05-10 02:50:16 +00:00
crash-recovery-code-complete.c Mark these tests as requiring use of the shell. 2011-10-27 21:50:13 +00:00
crash-recovery-modules.m Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
crash-recovery-reparse.c Mark these tests as requiring use of the shell. 2011-10-27 21:50:13 +00:00
crash-recovery.c
create-tu-fail.c Follow-up on the test of r157892 2012-06-02 18:20:16 +00:00
cursor-dynamic-call.mm [libclang] Introduce clang_Cursor_isDynamicCall which, 2012-07-02 23:54:36 +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
cxx11-lambdas.cpp Implement indexing support for lambdas in libclang (both kinds), as 2012-02-15 00:54:55 +00:00
error-on-deserialized.c [libclang] In lazyCreateDiags, recreate the diagnostic set if the number of diagnostics 2011-11-16 02:34:55 +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 [libclang] Introduce clang_findReferencesInFile which accepts a cursor, a file, 2011-10-06 07:00:54 +00:00
file-refs.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
fix-its.c [libclang] In cxloc::translateSourceRange make sure to handle locations in macro arguments 2012-04-11 18:15:01 +00:00
get-cursor-includes.c
get-cursor-macro-args.h [libclang] Make clang_getCursor able to handle locations that point inside macro arguments. 2011-08-17 00:31:25 +00:00
get-cursor-macro-args.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
get-cursor.c [libclang] When doing the cursor visitation make sure declarations 2012-06-09 03:03:02 +00:00
get-cursor.cpp [libclang/AST] When declaring a local class, don't neglect to set the end location 2012-05-16 23:49:15 +00:00
get-cursor.m [libclang] When determining the cursor via a location, ignore synthesized ivars otherwise 2012-08-28 00:04:23 +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
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
include_test_2.h
index-attrs.m [libclang] Fix use-after-free bug when handling attributes indexing info. 2012-03-31 01:14:06 +00:00
index-decls.m [libclang] Do index 'extern' declarations inside functions. 2012-09-10 22:58:04 +00:00
index-file.cpp [libclang] Fix indexing type alias declarations. rdar://11878406 2012-09-01 19:08:08 +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 For RecursiveASTVisitor, do data recursion for CXXOperatorCallExpr. 2012-04-30 22:12:26 +00:00
index-many-logical-ops.c Make RecursiveASTVisitor to traverse certain statements using data recursion 2012-03-15 18:07:19 +00:00
index-pch.cpp [libclang] When loading an AST file, make sure to apply the language options 2012-09-14 20:24:53 +00:00
index-refs.cpp [libclang] Index the field references of a designated initializer, rdar://10906206 2012-02-22 02:10:41 +00:00
index-refs.m [libclang] Add a test I forgot to commit for r156890. 2012-05-25 20:05:57 +00:00
index-subscripting-literals.m And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:06 +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 [libclang] Suppress indexing references for occurrences of the interface 2011-12-15 00:04:56 +00:00
index-templates.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +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
invalid-rdar-8236270.cpp Remove unnecessary and incorrect redirection of stderr. 2012-01-20 22:01:45 +00:00
linkage.c ParmVarDecls have no linkage. Previously we would report that parameters 2011-12-01 01:28:21 +00:00
load-classes.cpp
load-decls.c
load-exprs.c
load-namespaces.cpp
load-stmts.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
local-symbols.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
ms-if-exists.cpp Turn off delayed template parsing for this test 2011-10-25 20:12:15 +00:00
nested-binaryoperators.cpp Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
overrides.cpp Add c-index-test printing and tests for static and virtual method 2011-05-13 15:54:42 +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
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-with-errors.c [libclang] Don't crash when saving a PCH from a prefix header 2012-06-08 05:48:06 +00:00
pch-with-errors.m [Sema] -Add an invalid objc category to the DeclContext so that it can be 2012-03-12 18:34:26 +00:00
pragma-diag-reparse.c [PCH] Fix reading from PCH of diagnostic pragmas. 2011-11-09 01:24:17 +00:00
preamble-reparse-chained.c
preamble-reparse-cmd-define.c [libclang] In ASTUnit::Parse copy the CompilerInvocation object instead of 2011-09-12 18:09:38 +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.c
preamble.c Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
preamble_macro_template.cpp Revert r145244. It causes us to create broken ASTs with missing type information 2011-11-29 22:48:16 +00:00
print-display-names.cpp
print-typekind.c [libclang] Introduce a couple of functions to make it convenient 2012-04-11 19:32:19 +00:00
print-typekind.m [libclang] Report CXType_ObjCId for 'const id', not CXType_Typedef. 2012-05-23 23:30:16 +00:00
print-usrs.c
properties-class-extensions.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +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
recover-bad-code-rdar_7487294.c
recursive-cxx-member-calls.cpp Reland r160052: Default to -std=c++11 on Windows. 2012-08-30 02:08:31 +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
remap-cursor-at.c
remap-load.c Expose more statement, expression, and declaration kinds in libclang, 2011-10-05 19:00:14 +00:00
reparse-instantiate.cpp ASTConsumer::handleTopLevelDecl will end up getting called for 2011-11-07 18:53:57 +00:00
retain-comments-from-system-headers.c Add tests for r163778. 2012-09-13 17:25:51 +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
targeted-annotation.c [libclang] Make clang_annotateTokens use "file-targeted" deserialization and avoid 2011-11-16 08:58:57 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
usrs.cpp Use the canonical decl when generating the locations for USRs. 2011-05-03 01:33:35 +00:00
usrs.m [libclang] When determining the cursor via a location, ignore synthesized ivars otherwise 2012-08-28 00:04:23 +00:00
vector-types.c [libclang] API enhancements by Joe Groff! 2011-12-06 22:05:01 +00:00
warning-flags.c
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