hanchenye-llvm-project/clang/test/Index
Douglas Gregor fd4da71343 When determining which preprocessed entities to traverse in libclang,
take into account the region of interest. Otherwise, we may fail to
traverse some important preprocessed entity cursors. 
Fixes <rdar://problem/8554072>.

llvm-svn: 122350
2010-12-21 19:07:48 +00:00
..
Inputs When determining which preprocessed entities to traverse in libclang, 2010-12-21 19:07:48 +00:00
TestClassDecl.m When comparing the source range of a declaration against the region of 2010-11-17 17:14:07 +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-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 ntroduce clang_getSpellingLocation() into libclang, to provide the 2010-11-09 06:24:54 +00:00
annotate-tokens.c Swap the order of the condition and body of a do-while statement in 2010-12-17 16:18:04 +00:00
annotate-tokens.cpp add missing newlines at end of file. 2010-12-21 02:36:58 +00:00
annotate-tokens.m Fix test to be platform-agnostic 2010-12-21 17:52:09 +00:00
blocks.c ntroduce clang_getSpellingLocation() into libclang, to provide the 2010-11-09 06:24:54 +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 In clang_getCursor(), don't override a preprocessing cursor within 2010-12-10 07:23:11 +00:00
c-index-getCursor-test.m When comparing the source range of a declaration against the region of 2010-11-17 17:14:07 +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 Extend the libclang diagnostic API to provide information about the 2010-11-19 16:18:16 +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 Improve ASTUnit's capture of diagnostics so that the 2010-11-11 00:39:14 +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 Teach code completion not to include out-of-line declarations and 2010-11-09 03:59:40 +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 Do not produce "purely informative" code completion results for 2010-11-17 21:36:08 +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 Eliminate duplicate code completions for properties. 2010-12-09 23:01:55 +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 Don't walk the translation unit context to produce protocol names when 2010-12-09 21:44:02 +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-synthesized.m Teach code completion to provide property results when the property 2010-11-02 20:36:02 +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
get-cursor-includes.c When determining which preprocessed entities to traverse in libclang, 2010-12-21 19:07:48 +00:00
get-cursor.cpp When libclang is walking a member access expression, don't walk into 2010-11-17 17:15:08 +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 Teach clang_getCursorReferenced() that a 2010-11-05 21:11:19 +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 Avoid to emit redundant implicit cast for enum constants init expressions. 2010-12-17 12:21:11 +00:00
load-exprs.c Teach clang_getCursorReferenced() and friends about BlockDeclRefExprs. 2010-10-22 22:24:08 +00:00
load-namespaces.cpp Replace UsingDecl's SmallPtrSet of UsingShadowDecls with a linked list to avoid leaking memory. 2010-11-10 05:40:41 +00:00
load-stmts.cpp Teach clang_getCursorReferenced() that a 2010-11-05 21:11:19 +00:00
local-symbols.m Extend libclang with an API that determines, given a C++ virtual 2010-10-01 20:25:15 +00:00
nested-binaryoperators.cpp Add CursorVisitor::VisitBinaryOperator() to explicitly handle the case where we can blow out the stack due 2010-11-08 21:14: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 Fix source-range information for Objective-C properties. Previously, 2010-11-17 00:13:31 +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
recursive-cxx-member-calls.cpp When libclang is walking a member access expression, don't walk into 2010-11-17 17:15:08 +00:00
recursive-member-access.c Generalize data-recursive visitation in CursorVisitor to also handle MemberExprs 2010-11-11 08:05:18 +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 Fix a major inconsistency in the representation of Objective-C 2010-12-21 17:34:17 +00:00