hanchenye-llvm-project/clang/test/Index
Argyrios Kyrtzidis adff3ae3c8 [libclang] Introduce clang_Type_getCXXRefQualifier whichexposes ref-qualifier information of function type.
Patch by Che-Liang Chiou!

llvm-svn: 192493
2013-10-11 19:58:38 +00:00
..
Inputs [PCH] Fix a PCH serialization crash, with invalid code related to forward enum references. 2013-08-07 21:17:33 +00:00
skip-parsed-bodies clang/test/Index/skip-parsed-bodies/compile_commands.json: Mark it as XFAIL:mingw32, for now. 2013-01-31 16:01:13 +00:00
IBOutletCollection.m [libclang] Attribute visitation happens out-of-source-order, make sure 2013-02-08 01:12:25 +00:00
TestClassDecl.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
TestClassForwardDecl.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
annotate-attribute.cpp
annotate-comments-availability-attrs.cpp Comment to XML conversion: convert some tests to use the new [[@LINE]] 2012-11-15 18:37:27 +00:00
annotate-comments-objc.m Comment parsing tests: move tests where they belong 2013-08-19 07:10:13 +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 Comment parsing: fix test in r173626 for -fms-extensions -fms-compatibility 2013-01-27 22:11:38 +00:00
annotate-comments-unterminated.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
annotate-comments.cpp [libclang] Remove comma from the blacklist of characters that prevent a comment to be attached to a decl. 2013-07-26 18:38:12 +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 Actually mark ASan-unfriendly test as XFAIL 2013-03-26 08:45:29 +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
annotate-macro-args.m clang/test/Index: Fix two tests. Both %S and %t are expanded to absolute paths. 2012-10-02 00:11:53 +00:00
annotate-module.m [libclang] Introduce clang_Module_getASTFile function that returns the module file where a module object came from. 2013-04-26 22:47:49 +00:00
annotate-nested-name-specifier.cpp [libclang] Make token annotation of type/storage qualifiers accurate. 2013-01-07 19:16:27 +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 Fix the end-location of a CXXTemporaryObjectExpr when it is created with a initializer_list. 2013-09-11 23:23:27 +00:00
annotate-tokens-include.c
annotate-tokens-include.h
annotate-tokens-pp.c [libclang] When annotating preprocessor tokens, if we are in a macro definition, 2013-01-07 19:16:32 +00:00
annotate-tokens-preamble.c
annotate-tokens-with-default-args.cpp
annotate-tokens-with-default-args.h
annotate-tokens.c [libclang] Fix annotation of a range where the begin or end location 2013-02-13 18:33:28 +00:00
annotate-tokens.cpp clang/test/Index/annotate-tokens.cpp: Appease msvc-targets with -fno-delayed-template-parsing. 2013-04-08 23:05:10 +00:00
annotate-tokens.m [libclang] When annotating tokens, don't override a property annotation with a getter/setter method annotation. 2013-06-04 18:24:30 +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
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
asm-attribute.c [libclang] Provide location for attributes and expose 'packed' attribute. 2013-09-25 00:14:38 +00:00
attributes.c [libclang] Add some tests by Loïc Jaquemet that I forgot to add earlier. 2013-10-07 16:38:40 +00:00
availability.c Robustify test 2012-05-08 00:29:04 +00:00
blocks.c
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 [libclang] Provide location for attributes and expose 'packed' attribute. 2013-09-25 00:14:38 +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 Change test to dump Filecheck output to an intermediate file. This makes it easier to update this test. 2012-12-19 18:30:38 +00:00
c-index-pch.c
c-index-redecls.c
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 Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests 2013-09-13 11:02:31 +00:00
cindex-on-invalid-usrs.m
cindex-on-invalid.m
cindex-test-inclusions.c
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
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 Fixes formatting of empty blocks. 2013-01-21 16:42:44 +00:00
comment-cplus-decls.cpp Do not add newline in empty blocks. 2013-01-10 13:24:24 +00:00
comment-cplus-template-decls.cpp Do not add newline in empty blocks. 2013-01-10 13:24:24 +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 clang/test/Index/comment-custom-block-command.cpp: This has not been failing since r175892 on valgrind. 2013-07-08 12:00:29 +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 Fix single-line optimization for ObjC. 2013-01-11 19:17:44 +00:00
comment-to-html-xml-conversion.cpp Comment parsing tests: move tests where they belong 2013-08-19 07:13:02 +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 Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
compile_commands.json [libclang] add CompilationDatabase support 2012-06-30 11:27:57 +00:00
complete-access-checks.cpp
complete-at-directives.m
complete-at-exprstmt.m
complete-blocks.m
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 [Parser] Don't code-complete twice. 2013-03-27 23:58:17 +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 When code completing in a statement, parenthesized expression, or 2013-01-31 05:03:46 +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
complete-in-stringify.c
complete-interfaces.m
complete-ivar-access.m
complete-kvc.m
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 If a macro has been #undef'd in a precompiled header, we still need to 2012-10-09 16:01:50 +00:00
complete-member-access.m
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 [libclang] For "@import .." code-completion results, associate a CXCursor_ModuleImportDecl cursor instead of CXCursor_NotImplemented. 2013-05-29 18:50:15 +00:00
complete-natural.m
complete-objc-message-id.m
complete-objc-message.m When code completing in a statement, parenthesized expression, or 2013-01-31 05:03:46 +00:00
complete-pch.m Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests 2013-09-13 11:02:31 +00:00
complete-preamble.cpp Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +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 Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
complete-recovery.m
complete-stmt.c When code completing in a statement, parenthesized expression, or 2013-01-31 05:03:46 +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 The instance methods of the root class of an Objective-C hieararchy 2013-01-30 06:58:39 +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
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 clang/test/Index/crash-recovery-code-complete.c: Mark it as XFAIL:win32 for now. 2013-03-25 23:49:11 +00:00
crash-recovery-modules.m [libclang] Make sure crash-recovery for module-building does not interfere with libclang crash-recovery. 2013-06-19 23:15:35 +00:00
crash-recovery-reparse.c clang/test/Index/crash-recovery-*.c: Drop 'REQUIRES:shell". "test !" is available on Lit win32 since r173421. 2013-01-25 06:31:02 +00:00
crash-recovery.c
create-tu-fail.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
cursor-dynamic-call.mm [libclang] Introduce clang_Cursor_getReceiverType which returns the CXType for 2012-11-01 02:01:34 +00:00
cursor-ref-names.cpp
cxx-operator-overload.cpp
cxx11-lambdas.cpp
error-on-deserialized.c Move not past env. 2013-07-25 14:52:56 +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
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
file-refs.cpp
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 Have clang_getSpellingLocation() use the same logic as DiagnosticRenderer for plowing through macros. 2012-12-18 23:07:30 +00:00
format-comment-cdecls.c Fixes formatting of empty blocks. 2013-01-21 16:42:44 +00:00
get-cursor-includes.c
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 When associating file ranges of macro arguments with their 2012-10-20 00:51:32 +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 When modifying an implicit instantiation with information from an explicit one, make sure to reset the "right brace" location. 2013-04-22 23:23:42 +00:00
get-cursor.m [libclang] Introduce clang_Cursor_isObjCOptional, which returns whether the declaration was affected by "@optional" 2013-07-05 20:44:37 +00:00
getcursor-pp-pch.c
getcursor-pp-pch.c.h
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 clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". 2013-02-01 00:17:45 +00:00
in-class-init.cpp
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] When indexing a @synthesize, don't consider that it defines a getter/setter if one is already defined by the user. 2013-05-29 23:58:31 +00:00
index-file.cpp When the template specialization header is missing, set a valid source location for the template keyword when recovering. 2013-06-05 17:52:24 +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-module.m Teach subframework header lookup to suggest modules <rdar://problem/13176200>. 2013-02-08 00:10:48 +00:00
index-pch-with-module.m Rename -fmodule-cache-path <blah> to -fmodules-cache-path=<blah> for consistency. 2013-02-07 19:01:24 +00:00
index-pch.cpp [PCH] When deserializing an IdentifierInfo, call IdentifierInfo::RevertTokenIDToIdentifier() only when it's not already an identifier. 2013-02-27 01:13:51 +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 Have the RecursiveASTVisitor traverse the type source info of an objc class message. 2013-05-06 19:08: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
index-suppress-refs.h
index-suppress-refs.hpp
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-templates.cpp
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
invalid-code-rdar10451854.m
invalid-code-rdar_7833619.m
invalid-rdar-8236270.cpp
linkage.c Merge storage classes even when contexts don't match. 2012-12-18 04:18:55 +00:00
load-classes.cpp [libclang] Have clang_getCXXAccessSpecifier() also return the access control of a C++ declaration within its parent scope. 2013-04-11 17:02:10 +00:00
load-decls.c
load-exprs.c
load-namespaces.cpp
load-stmts.cpp
local-symbols.m [libclang] For a CXCursor_ObjCInstanceMethodDecl/CXCursor_ObjCClassMethodDecl cursor, 2012-03-23 03:33:19 +00:00
modules-objc-categories.m [libclang] Add test case for r178374. 2013-03-29 22:16:32 +00:00
ms-if-exists.cpp
nested-binaryoperators.cpp
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 Several small changes in formatting decisions. 2013-01-28 09:35:24 +00:00
overriding-method-comments.mm Comment parsing: fix a bug where a line with whitespace between two paragraphs 2013-08-23 18:03:40 +00:00
parse-all-comments.c Comment parsing: -fparse-all-comments: recognize empty line comments 2013-04-26 20:12:49 +00:00
pch-opaque-value.cpp
pch-with-errors.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +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 [libclang] When parsing with CXTranslationUnit_ForSerialization, make sure to install the ASTWriter that we create as an ASTMutationListener. 2013-05-10 01:28:51 +00:00
pragma-diag-reparse.c
preamble-reparse-chained.c
preamble-reparse-cmd-define.c
preamble-reparse-cmd-define.c.h
preamble-reparse-cmd-define.c.remap
preamble-reparse-import.m
preamble-reparse-import.m-1.h
preamble-reparse-import.m-2.h
preamble-reparse-import.m-3.h
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
preamble.c [PCH] Fix a PCH serialization crash, with invalid code related to forward enum references. 2013-08-07 21:17:33 +00:00
preamble_macro_template.cpp test/Index/preamble_macro_template.cpp: Tweak for win32. 2012-12-24 01:23:48 +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-display-names.cpp
print-type-cxx11.cpp [libclang] Introduce clang_Type_getCXXRefQualifier whichexposes ref-qualifier information of function type. 2013-10-11 19:58:38 +00:00
print-type-size.cpp [libclang] Expose the rest of the array types. 2013-07-23 17:36:21 +00:00
print-type.c [libclang] Don't report a DecayedType as "unexposed", report it as the original (as written) type. 2013-09-16 17:26:23 +00:00
print-type.cpp [libclang] Introduce clang_Type_getClassType which returns the class type of a member pointer type. 2013-10-03 16:19:23 +00:00
print-type.m [libclang] Introduce clang_Cursor_isVariadic, which returns non-zero if the given cursor is a variadic function or method. 2013-04-18 23:53:05 +00:00
print-usrs.c
properties-class-extensions.m [libclang] Introduce clang_Cursor_getObjCPropertyAttributes to query the written attributes in a property declaration. 2013-04-18 22:15:49 +00:00
rdar-8288645-invalid-code.mm
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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
recursive-cxx-member-calls.cpp [libclang] Make token annotation of type/storage qualifiers accurate. 2013-01-07 19:16:27 +00:00
recursive-member-access.c
redeclarations.cpp
remap-complete.c
remap-cursor-at.c
remap-load.c
reparse-instantiate.cpp
retain-comments-from-system-headers.c Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
retain-target-options.c
subclass-comment.mm Comment parsing tests: move tests where they belong 2013-08-19 07:13:02 +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
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
targeted-file-refs.c
targeted-nested1.h
targeted-preamble.h
targeted-top.h
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
usrs.cpp [libclang] Declarations inside anonymous namespaces have internal linkage so 2012-12-07 22:41:46 +00:00
usrs.m Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +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