llvm-project/clang/test/Index
Argyrios Kyrtzidis 45e8cf5732 [libclang] When pointing at a macro expansion inside a macro argument,
return a cursor for the inner macro.

llvm-svn: 140207
2011-09-20 23:27:33 +00:00
..
Inputs Revamp the SourceManager to separate the representation of parsed 2011-07-19 16:10:42 +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 Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
TestClassForwardDecl.m When comparing the source range of a declaration against the region of 2010-11-17 17:14:07 +00:00
annotate-context-sensitive.cpp [libclang] 2011-09-13 17:39:31 +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] Annotate correctly macro argument tokens. 2011-08-18 18:03:34 +00:00
annotate-nested-name-specifier.cpp Enable -fdelayed-template-parsing by default on Win32. 2011-09-01 16:38:08 +00:00
annotate-tokens-cxx0x.cpp Enable -fdelayed-template-parsing by default on Win32. 2011-09-01 16:38:08 +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 For SourceManager::isBeforeInTranslationUnit, a location pointing 2011-09-19 20:39:57 +00:00
annotate-tokens-with-default-args.cpp [libclang] Annotation of parameters that got default args from a previous declarations was 2011-07-30 17:23:26 +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 [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +00:00
annotate-tokens.cpp [libclang] Avoid having the cursor of an expression "overwrite" the annotation of the 2011-06-27 19:42:20 +00:00
annotate-tokens.m [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +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
blocks.c [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +00:00
c-index-api-loadTU-test.m [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +00:00
c-index-getCursor-pp.c [libclang] Fix annotation and getting a "macro expansion" cursor 2011-09-08 17:18:41 +00:00
c-index-getCursor-test.m [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +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 When reading the AST, delay loading of the redeclaration chain to avoid deeply nested calls. 2011-02-12 07:50:47 +00:00
cindex-from-source.m Introduce a new libclang API, clang_reparseTranslationUnit(), which 2010-07-19 21:46:24 +00:00
cindex-on-invalid-usrs.m Add test case for <rdar://problem/8452791> (fixed in r114392). 2010-09-28 21:11:07 +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 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
code-completion.cpp New libclang API to expose container type for code completion, from 2011-07-21 01:05:26 +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 Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
complete-blocks.m Teach code completion to cope with block types written without a 2011-02-15 22:37:09 +00:00
complete-categories.m De-XFAIL some win32 tests that are now passing 2010-02-21 20:58:24 +00:00
complete-ctor-inits.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-cxx-inline-methods.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +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 Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
complete-driver-errors.c Improve ASTUnit's capture of diagnostics so that the 2010-11-11 00:39:14 +00:00
complete-enums.c When code-completing a case statement for a switch on a value of 2011-02-18 23:30:37 +00:00
complete-exprs.c Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-exprs.cpp When printing a qualified type, look through a substituted template 2011-02-17 06:52:25 +00:00
complete-exprs.m Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +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-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-kvc.m Tweak code completions for Objective-C Key-Value Observing. The 2011-06-02 04:02:27 +00:00
complete-macro-args.c [libclang] Support code-completion inside macro arguments. 2011-08-18 19:41:28 +00:00
complete-macros.c When producing code completion results for variadic macros, fold the 2011-07-30 08:17:44 +00:00
complete-member-access.m New libclang API to expose container type for code completion, from 2011-07-21 01:05:26 +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 Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +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 Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
complete-pch.m When providing a code completion for an Objective-C message send, drop 2010-08-29 19:47:46 +00:00
complete-preprocessor.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-properties.m When providing code completions of ivar names for a property 2011-04-18 14:40:46 +00:00
complete-property-flags.m Automatic Reference Counting. 2011-06-15 23:02:42 +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-recovery.m Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
complete-stmt.c Add code completion to produce "else" blocks after an "if" 2011-07-30 08:36:53 +00:00
complete-super.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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 Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +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-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 Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-unterminated.c Don't emit end-of-file diagnostics like "unterminated conditional" or 2010-08-12 17:04:55 +00:00
crash-recovery-code-complete.c The two libclang crash-recovery tests that involve precompiled 2010-09-11 18:05:19 +00:00
crash-recovery-reparse.c The two libclang crash-recovery tests that involve precompiled 2010-09-11 18:05:19 +00:00
crash-recovery.c tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them on 2010-08-24 21:39:55 +00:00
cursor-ref-names.cpp Added clang_getCursorReferenceNameRange to libclang to to retrieve parts of 2011-07-25 17:48:11 +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
fix-its.c If any Fix-Its attached to a diagnostic have invalid source locations 2011-02-03 23:41:12 +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 [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] Make clang_getCursor able to handle locations that point inside macro arguments. 2011-08-17 00:31:25 +00:00
get-cursor.c [libclang] Fix getting a cursor that points inside tag definition that is part 2011-08-25 22:24:47 +00:00
get-cursor.cpp Add a new libclang API to return a CXCompletionString for an arbitrary 2011-08-04 20:04:59 +00:00
get-cursor.m Mark objc methods that are implicitly declared for properties (not user-declared) as implicit. 2011-08-17 19:25:08 +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 Fixed FieldDecl source range. 2011-08-05 08:02:55 +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-templates.cpp Enable -fdelayed-template-parsing by default on Win32. 2011-09-01 16:38:08 +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-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 Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
linkage.c c-index-test's printing of linkage was completely broken, as was the 2010-03-04 19:36:27 +00:00
load-classes.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
load-decls.c Avoid to emit redundant implicit cast for enum constants init expressions. 2010-12-17 12:21:11 +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 Fixed NamespaceDecl source range. 2011-03-08 12:38:20 +00:00
load-stmts.cpp [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +00:00
local-symbols.m Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
nested-binaryoperators.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
nested-macro-instantiations.cpp For the MacroExpands preprocessor callback, also pass the SourceRange 2011-08-18 01:05:45 +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 Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
pragma-diag-reparse.c For Diagnostic::Reset() also reset the state related to #pragma diagnostic. Fixes rdar://9170766. 2011-03-26 18:58:17 +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 [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.c When we decide not to reuse a precompiled preamble, clear out the 2010-08-20 00:02:33 +00:00
preamble.c Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
preamble_macro_template.cpp Enable -fdelayed-template-parsing by default on Win32. 2011-09-01 16:38:08 +00:00
print-display-names.cpp Introduce a new libclang function, clang_getCursorDisplayName(), which 2010-10-02 22:49:11 +00:00
print-typekind.c Add libclang functions to determine the const/volatile/restrict 2011-01-27 16:27:11 +00:00
print-typekind.m Add CXType support for querying the return type of Objective-C methods. This is done by 2010-06-21 20:48:56 +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 Mark objc methods that are implicitly declared for properties (not user-declared) as implicit. 2011-08-17 19:25:08 +00:00
rdar-8288645-invalid-code.mm Restore patch I reversed in r138040. Known buildbot 2011-08-22 15:54:49 +00:00
recover-bad-code-rdar_7487294.c Don't skip past the '}' if an expression has error and is not followed by ';'. 2010-03-31 00:37:59 +00:00
recursive-cxx-member-calls.cpp [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of 2011-09-12 22:17:26 +00:00
recursive-member-access.c Added clang_getCursorReferenceNameRange to libclang to to retrieve parts of 2011-07-25 17:48:11 +00:00
remap-complete.c Speed up code-completion by skipping function bodies. 2011-01-03 19:44:02 +00:00
remap-cursor-at.c Eliminate clang_setUseExternalASTGeneration() from libclang. Between 2010-10-11 16:52:23 +00:00
remap-load.c Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
retain-target-options.c Test for previous commit 2011-01-27 18:39:26 +00:00
usrs-cxx0x.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +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] Fix getting a cursor that points inside tag definition that is part 2011-08-25 22:24:47 +00:00
warning-flags.c Don't silently drop warning flags passed in to 2011-01-19 01:02:47 +00:00
werror.c Keep track of when "unrecoverable" errors occur, then allow 2011-07-06 17:40:26 +00:00