hanchenye-llvm-project/clang/test/Index
Argyrios Kyrtzidis 2bff5161c4 [libclang] Add functions to get information about fields.
Patch by Loïc Jaquemet!

llvm-svn: 234762
2015-04-13 16:55:04 +00:00
..
Inputs [libclang] Allow code-completion when pointing at the end-of-file. 2014-10-18 06:19:36 +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 Teach compile_commands.json test that windows-gnu is the new name for mingw32. 2014-12-17 11:04:07 +00:00
IBOutletCollection.m
TestClassDecl.m Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
TestClassForwardDecl.m Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
annotate-attribute.cpp
annotate-comments-availability-attrs.cpp
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
annotate-comments-property-accessor.m
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
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
annotate-macro-args.h
annotate-macro-args.m
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
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
annotate-tokens-preamble.c
annotate-tokens-with-default-args.cpp
annotate-tokens-with-default-args.h
annotate-tokens.c [libclang] During member ref expression visitation, ignore base anonymous struct/union fields. 2015-03-13 04:40:07 +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
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 Expose the CUDA shared attribute to the C API. 2014-08-08 14:59:00 +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
boxed-exprs.m
c-index-api-loadTU-test.m Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
c-index-getCursor-pp.c
c-index-getCursor-test.m Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +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
code-completion.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +00:00
codecompletion-chained.cpp
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 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-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
comment-to-html-xml-conversion.cpp [libclang] Use same USR encoding for 'class' as 'struct'. 2014-12-08 08:48:33 +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
complete-access-checks.cpp
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
complete-at-exprstmt.m
complete-blocks.m
complete-call.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +00:00
complete-categories.m
complete-constructor-params.cpp [libclang] Fix crash when code-completing inside constructor initializer for a builtin type. 2015-03-13 07:39:30 +00:00
complete-ctor-inits.cpp
complete-cxx-inline-methods.cpp
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
complete-enums.cpp
complete-exprs.c
complete-exprs.cpp
complete-exprs.m
complete-functor-call.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +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
complete-macro-args.c
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-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] 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
complete-optional-params.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +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-pointer-and-reference-to-functions.cpp Improves overload completion result chunks. 2015-01-28 14:17:22 +00:00
complete-preamble.cpp Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
complete-preamble.h
complete-preprocessor.m
complete-properties.m
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
complete-super.cpp
complete-super.m
complete-synthesized.m
complete-tabs.c
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
complete-type-factors.m Initial support for C++ parameter completion 2015-01-21 16:24:11 +00:00
complete-unterminated.c
complete-with-annotations.cpp
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] When initializing an ObjC object via the "[[ClassName alloc] init*]" pattern, 2014-11-10 23:21:35 +00:00
cursor-ref-names.cpp
cxx-operator-overload.cpp
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
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
fix-its.c
fix-its.m Objective-C. After providing a fix-it for a 2013-12-18 21:04:43 +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
get-cursor-macro-args.h
get-cursor-macro-args.m
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] Make sure to visit the body of a CXXForRangeStmt. 2014-11-13 09:50:19 +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
getcursor-preamble.m
headerfile-comment-to-html.m
in-class-init.cpp
include_test.h
include_test_2.h
index-attrs.m
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
index-kernel-invocation.cpp
index-many-call-ops.cpp Add ubsan/not_ubsan features to Clang lit tests and use 2014-09-03 19:46:32 +00:00
index-many-logical-ops.c Add ubsan/not_ubsan features to Clang lit tests and use 2014-09-03 19:46:32 +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 [ASTUnit] Fix crash when trying to load a module file via ASTUnit::LoadFromASTFile. 2015-03-03 08:04:19 +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
index-pch.cpp
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
index-templates.cpp [libclang] Use same USR encoding for 'class' as 'struct'. 2014-12-08 08:48:33 +00:00
index-with-working-dir.c
initializer-memory.cpp
invalid-code-rdar10451854.m
invalid-code-rdar_7833619.m
invalid-rdar-8236270.cpp
linkage.c
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 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
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
overriding-ftemplate-comments.cpp [libclang] Function templates can be 'overloaded' by return type, so encode the return type in the USR 2014-12-08 08:48:11 +00:00
overriding-method-comments.mm [libclang] Function templates can be 'overloaded' by return type, so encode the return type in the USR 2014-12-08 08:48:11 +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 Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +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 Add libclang capabilities to retriete template arguments from specializations. 2014-10-10 20:01:05 +00:00
print-bitwidth.c
print-display-names.cpp
print-mangled-name.cpp Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
print-type-cxx11.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
print-type-size.cpp [libclang] Add functions to get information about fields. 2015-04-13 16:55:04 +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 [libclang] Add functions to get information about fields. 2015-04-13 16:55:04 +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
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
reparse-predef-objc-protocol.m Fix the rececl chain for redeclarations of predefined decls 2014-08-18 19:32:45 +00:00
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
unmatched-braces.m
usrs-cxx0x.cpp [libclang] Use same USR encoding for 'class' as 'struct'. 2014-12-08 08:48:33 +00:00
usrs.cpp clang/test/Index/usrs.cpp: Appease targeting msvc. 2014-12-08 10:20:33 +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