llvm-project/clang/test/Index
Chandler Carruth 0171815ae1 Improve the tracking of source locations for parentheses in constructor calls.
This adds them where missing, and traces them through PCH. We fix at least one
bug in the extents found by the Index library, and make a lot of refactoring
tools which care about the exact formulation of a constructor call easier to
write. Also some minor cleanups to more consistently follow the friend pattern
instead of the setter pattern when rebuilding a serialized AST.

Patch originally by Samuel Benzaquen.

llvm-svn: 117254
2010-10-25 08:47:36 +00:00
..
Inputs When setting the globally-visible declarations for a particular 2010-09-24 23:29:12 +00:00
TestClassDecl.m Introduce a new kind of cursor into libclang, which covers a reference 2010-09-13 22:52:57 +00:00
TestClassForwardDecl.m Introduce a new kind of cursor into libclang, which covers a reference 2010-09-13 22:52:57 +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 Improve the implementation of libclang's token-annotation logic for 2010-10-21 06:10:04 +00:00
annotate-tokens.c Teach the libclang cursor visitor to walk into the type information 2010-08-10 15:02:34 +00:00
annotate-tokens.cpp Visit the children of CXXOperatorCallExprs in source order within 2010-07-29 00:26:18 +00:00
annotate-tokens.m Improve the implementation of libclang's token-annotation logic for 2010-10-21 06:10:04 +00:00
blocks.c Teach clang_getCursorReferenced() and friends about BlockDeclRefExprs. 2010-10-22 22:24:08 +00:00
c-index-api-loadTU-test.m Remove a rogue typo 2010-10-05 14:58:05 +00:00
c-index-getCursor-pp.c Update clang_getCursor() test to check searches on include directives 2010-10-21 20:55:34 +00:00
c-index-getCursor-test.m Robustify PreprocessingRecord slightly, by only creating macro 2010-03-19 21:58:23 +00:00
c-index-pch.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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 Update test case since c-index-test now works on invalid sources. 2010-03-26 01:34:53 +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-complete-errors.c Make the "extra ';' inside a struct or union" diagnostic more 2010-06-16 23:08:59 +00:00
code-completion.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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 Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-blocks.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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-declarators.cpp Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-declarators.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-driver-errors.c Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-enums.c Extend the type printing policy to allow one to turn off the printing 2010-04-05 21:25:31 +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 Add code completion for C++ constructors wherever we see the class (or 2010-09-21 16:06:22 +00:00
complete-exprs.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-hiding.c Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-interfaces.m Code completion for Objective-C class names after @interface, 2009-11-18 16:26:39 +00:00
complete-macros.c Swap the priorities of constants and types, so that we prefer types. 2010-09-16 16:21:35 +00:00
complete-member-access.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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 Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-natural.m Test for previous commit 2010-08-25 17:11:34 +00:00
complete-objc-message-id.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +00:00
complete-objc-message.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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 De-XFAIL some win32 tests that are now passing 2010-02-21 20:58:24 +00:00
complete-property-flags.m Improve the accuracy of code completion for the attributes of an @property declaration, so that we don't produce completions for attributes that would conflict with already-specified attributes 2009-11-19 00:14:45 +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 Code completion after @property, providing the names of forward-declared properties 2009-11-18 04:49:41 +00:00
complete-recovery.m Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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 Tweak code-completion result priorities, so that exact and similar 2010-10-19 00:03:23 +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
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
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 Substantially revise how clang computes the visibility of a declaration to 2010-10-22 21:05:15 +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 Add test case for crash reported in <rdar://problem/8236270> (which has since been fixed in trunk). 2010-07-30 01:10:48 +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 Implement basic visitation for nested name specifiers via libclang 2010-09-02 17:35:32 +00:00
load-decls.c Fix the source-range information for an EnumConstantDecl; previously, 2010-09-01 20:41:53 +00:00
load-exprs.c Teach clang_getCursorReferenced() and friends about BlockDeclRefExprs. 2010-10-22 22:24:08 +00:00
load-namespaces.cpp Introduce a new kind of cursor into libclang, which covers a reference 2010-09-13 22:52:57 +00:00
load-stmts.cpp Improve the tracking of source locations for parentheses in constructor calls. 2010-10-25 08:47:36 +00:00
local-symbols.m Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
overrides.cpp Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
overrides.m Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
preamble-reparse-chained.c When setting the globally-visible declarations for a particular 2010-09-24 23:29:12 +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 Get rid of the lame attempt to prioritize "void" functions at 2010-09-20 21:25:19 +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 Teach clang_getCursorType() about base specifiers and other references 2010-10-02 21:57:58 +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 Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
rdar-8288645-invalid-code.mm Add test case for <rdar://problem/8288645>. While this is fixed in trunk, we previously were getting the following assertion failure not too long ago: 2010-08-10 22:30:29 +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
remap-complete.c This test should now work on windows, since we're no longer using temporary files badly 2010-10-11 23:18:55 +00:00
remap-cursor-at.c Eliminate clang_setUseExternalASTGeneration() from libclang. Between 2010-10-11 16:52:23 +00:00
remap-load.c Eliminate clang_setUseExternalASTGeneration() from libclang. Between 2010-10-11 16:52:23 +00:00
usrs.cpp Implement libclang support for using declarations. Clang actually uses 2010-09-01 19:52:22 +00:00
usrs.m USRs for class extensions should "mangle" in the location of the extension. (<rdar://problem/8350262>) 2010-08-24 23:13:41 +00:00