hanchenye-llvm-project/clang/test/Index
Argyrios Kyrtzidis 4f1560242a [test] Add '-target' option to fix bot failure.
llvm-svn: 211439
2014-06-21 18:28:44 +00:00
..
Inputs This test is XFAILed on Windows, but I cannot see a reason as to why it should be failing. The original commit which XFAILed this was r111581, which suggested something was wrong with file remapping, but that may have been subsequently fixed. 2014-05-19 15:02:10 +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: 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: use different comment styles in different test cases 2014-03-27 16:42:56 +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 [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 Fix this test and don't run it in ASan bootstrap 2014-01-28 06:59:32 +00:00
annotate-literals.m
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_isSystem(), which returns non-zero if the given CXModule is a system one. 2014-05-15 04:44:25 +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
annotate-tokens-cxx0x.cpp Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +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 [libclang] While visiting a C++ destructor decl, keep the type identifier associated with the decl, 2014-02-09 08:13:47 +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-cuda.cu No longer allow the -std options to entirely override the -x language option. This allows -x cuda -std=c++11, for instance. 2014-05-29 16:39:42 +00:00
attributes.c [libclang] Add attribute support for 'pure', 'const' and 'noduplicate'. 2014-05-01 15:41:58 +00:00
availability.c [libclang] When querying for the availability of an enumerator, pick up the availability from the enum declaration. 2013-10-15 17:00:53 +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 Pretty Printer: Print constexpr and ref qualifiers. Don't print return types on destructors. 2014-02-25 18:49:49 +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 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: remove HTML attribute validation 2014-04-30 21:54:30 +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.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
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 [Preprocessor/CodeComplete] Don't add include guard macros to code-completion results. 2014-04-09 18:21:23 +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
complete-memfunc-cvquals.cpp
complete-method-decls.m [code-completion] Add a couple of test cases suggested by Jordan, and a FIXME. 2014-03-05 19:10:31 +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 [code-completion] Style guideline for Cocoa has custom accessor in property declarations without spaces around '='. 2014-02-20 07:55:15 +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 Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
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 Introduce the feature "can-remove-opened-file" to suppress tests. [PR18856] 2014-02-16 10:15:34 +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 [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
crash-recovery.c [libclang] Make sure we don't access past the tokens buffer while token annotation. 2013-11-27 05:50:55 +00:00
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 [Index] Make the USRs more stable. 2014-02-23 18:23:29 +00:00
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
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 Objective-C. After providing a fix-it for a 2013-12-18 21:04:43 +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-with-vfs.m Honour -ivfsoverlay in ASTUnit to match clang 2014-04-15 18:16:25 +00:00
index-module.m [liblang] Introduce clang_getModuleForFile, which given a CXFile header file, returns the module that contains it, if one exists. 2014-05-14 23:14:37 +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 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 [Index] Make the USRs more stable. 2014-02-23 18:23:29 +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
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 Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +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
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: add clang_CXXMethod_isConst API that allows to determine if a C++ 2014-04-07 14:59:13 +00:00
load-decls.c Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +00:00
load-exprs.c
load-namespaces.cpp Report a correct end location for nameless parameters. 2014-02-02 15:28:46 +00:00
load-stmts.cpp
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
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-depending-on-deleted-module.c Allow multiple modules with the same name to coexist in the module cache 2014-04-14 18:00:01 +00:00
pch-opaque-value.cpp
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 [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 [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
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-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.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 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 Switch to the new MingW ABI. 2013-12-12 16:07:11 +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 Handle difference in signedness of 'char' in test/Index/print-type.c{,pp} 2014-04-09 19:39:07 +00:00
print-type.cpp Handle difference in signedness of 'char' in test/Index/print-type.c{,pp} 2014-04-09 19:39:07 +00:00
print-type.m Make c-index-test -test-print-type include pointeekind for pointer types 2014-04-09 19:16:08 +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: add clang_CXXMethod_isConst API that allows to determine if a C++ 2014-04-07 14:59:13 +00:00
recursive-member-access.c
redeclarations.cpp
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 [c-index-test] For the '-remap-file' option use a comma for separator which is more 2013-12-05 20:13:27 +00:00
reparse-instantiate.cpp
retain-comments-from-system-headers.c retain-comments-from-system-headers.c: Flush module cache, or incremental test would fail since r203317. 2014-03-09 03:56:18 +00:00
retain-target-options.c
skipped-ranges.c [libclang] Record ranges skipped by the preprocessor and expose them with libclang. 2013-12-05 08:19:32 +00:00
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
targeted-cursor.m.h
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 [Index] Make the USRs more stable. 2014-02-23 18:23:29 +00:00
usrs.m libclang/libIndex: USR generation: mangle source location into USRs for macros, 2014-03-28 22:21:26 +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