hanchenye-llvm-project/clang/test/Index
Chandler Carruth 73aa8f7027 Based on the new information in the AST provided by r130628, write
3 lines of code and improve a bunch of information in the libclang view
of the code.

Updates the two tests that exercise this with the new data, checking
that each new source location actually points back to the declared
template parameter.

llvm-svn: 130656
2011-05-01 09:53:37 +00:00
..
Inputs When determining which preprocessed entities to traverse in libclang, 2010-12-21 19:07:48 +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 Teach libclang's token-annotation logic about context-sensitive 2011-03-08 17:10:18 +00:00
annotate-nested-name-specifier.cpp Based on the new information in the AST provided by r130628, write 2011-05-01 09:53:37 +00:00
annotate-tokens-cxx0x.cpp Teach libclang about SizeOfPackExpr. 2011-01-19 20:34:17 +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
annotate-tokens-pp.c ntroduce clang_getSpellingLocation() into libclang, to provide the 2010-11-09 06:24:54 +00:00
annotate-tokens.c Use ElaboratedType also for C. 2011-03-16 20:16:18 +00:00
annotate-tokens.cpp Apply a bug-fix patch from Marcin Kowalczyk to the source locations for 2011-04-02 09:47:38 +00:00
annotate-tokens.m Teach libclang's token-annotation logic about context-sensitive 2011-03-08 17:10:18 +00:00
blocks.c Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
c-index-api-loadTU-test.m Fixed source range for StaticAssertDecl and LinkageSpecDecl. Fixed source range for declarations using postfix types. 2011-03-08 16:41:52 +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 Fixed source range for StaticAssertDecl and LinkageSpecDecl. Fixed source range for declarations using postfix types. 2011-03-08 16:41:52 +00:00
c-index-pch.c
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
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
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 Teach code completion to cope with block types written without a 2011-02-15 22:37:09 +00:00
complete-categories.m
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 When code-completing within a list of declaration specifiers, 2011-02-15 20:33:25 +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 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
complete-kvc.m Implement code completion results for the Objective-C Key-Value Coding 2011-02-17 00:22:45 +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 Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
complete-natural.m
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 When determining the "usage" type of a declaration for the purposes of code 2011-04-14 20:33:34 +00:00
complete-pch.m
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
complete-property-getset.m
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 When trying to provide a code completion item for a call to "super" in 2011-02-16 00:51:18 +00:00
complete-synthesized.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
complete-tabs.c
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
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
cxx-operator-overload.cpp
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.cpp When libclang is walking a member access expression, don't walk into 2010-11-17 17:15:08 +00:00
include_test.h
include_test_2.h
index-templates.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +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
invalid-rdar-8236270.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
linkage.c
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 Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +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
overrides.cpp Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +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.c
preamble.c Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +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
print-usrs.c
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 Fixes an instance method meta-data generation bug in 2011-04-22 22:02:28 +00:00
recover-bad-code-rdar_7487294.c
recursive-cxx-member-calls.cpp Based on the new information in the AST provided by r130628, write 2011-05-01 09:53:37 +00:00
recursive-member-access.c Use ElaboratedType also for C. 2011-03-16 20:16:18 +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 Fixed type and declaration source range in presence of typeQuals. 2011-03-12 11:02:00 +00:00
usrs.m Fixed source range for all DeclaratorDecl's. 2011-03-08 08:55:46 +00:00
warning-flags.c Don't silently drop warning flags passed in to 2011-01-19 01:02:47 +00:00