hanchenye-llvm-project/clang/test/Index
Douglas Gregor 6fc0413e59 Add a super-cool code completion for send-to-super. When we're typing
a message send to "super" from a method that appears to be meant to
override a superclass method (same kind, same selector, same argument
types), provide a "super" completion that fills in the selector along
with forwarding the method's arguments (as placeholders).

llvm-svn: 112263
2010-08-27 15:10:57 +00:00
..
Inputs When we decide not to reuse a precompiled preamble, clear out the 2010-08-20 00:02:33 +00:00
TestClassDecl.m Implement clang_saveTranslationUnit(), which saves a translation unit 2010-08-13 05:36:37 +00:00
TestClassForwardDecl.m c-index-test: Unify and always print half-open extents. 2010-02-14 08:32:51 +00:00
annotate-tokens-include.c Workaround a really serious caching bug in SourceManager::isBeforeInTranslationUnit() where the 2010-05-06 00:22:25 +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 Always recurse into sub-cursors when annotating tokens, as this information is used for annotating macro arguments. This finishes up <rdar://problem/8044584>. 2010-08-14 02:50:46 +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 Fix RUN line in test. 2010-08-25 22:16:06 +00:00
blocks.c Add indexing support for the block and @property type location information 2010-06-04 22:33:30 +00:00
c-index-api-loadTU-test.m Add libclang API hook "clang_getIBOutletCollectionType" to query the collection type for iboutletcollection attributes. 2010-08-26 01:42:22 +00:00
c-index-getCursor-pp.c Visit preprocessing elements (macro instantiations and macro 2010-03-19 05:22:59 +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.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 Revert "Move the sorting of code-completion results out of the main path and 2010-08-26 00:30:24 +00:00
complete-at-directives.m Do not produce types as valid code completions when we're in an 2010-05-28 00:49:12 +00:00
complete-at-exprstmt.m Tweak the @selector completion to collapse multiple informative and 2010-08-26 16:46:39 +00:00
complete-blocks.m Give a slight preference to functions returning "void" when we're 2010-08-24 23:58:17 +00:00
complete-categories.m De-XFAIL some win32 tests that are now passing 2010-02-21 20:58:24 +00:00
complete-declarators.cpp In code-completion contexts where both types and other values are 2010-08-24 23:40:45 +00:00
complete-declarators.m Introduce a code-completion hook for the Objective-C collection 2010-08-23 21:17:50 +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 When combining the code-completion results from Sema long with the 2010-08-25 18:41:16 +00:00
complete-hiding.c In code-completion contexts where both types and other values are 2010-08-24 23:40:45 +00:00
complete-interfaces.m
complete-macros.c When caching global completion results, keep track of the simplified 2010-08-16 16:18:59 +00:00
complete-member-access.m Introduce priorities into the code-completion results. 2010-05-26 22:00:08 +00:00
complete-memfunc-cvquals.cpp When code-completing a potential call to a C++ non-static member 2010-08-26 16:36:48 +00:00
complete-method-decls.m Revert "Move the sorting of code-completion results out of the main path and 2010-08-26 00:30:24 +00:00
complete-natural.m Test for previous commit 2010-08-25 17:11:34 +00:00
complete-objc-message-id.m When sending a message to "id", apply some heuristics to try to narrow 2010-04-06 19:22:33 +00:00
complete-objc-message.m More ordering tweaks in this silly, silly test 2010-08-26 14:20:32 +00:00
complete-pch.m Make code-completion for Objective-C message sends to "id" work in the 2010-04-06 17:30:22 +00:00
complete-preprocessor.m When combining the code-completion results from Sema long with the 2010-08-25 18:41:16 +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
complete-recovery.m Do not produce types as valid code completions when we're in an 2010-05-28 00:49:12 +00:00
complete-super.m Add a super-cool code completion for send-to-super. When we're typing 2010-08-27 15:10:57 +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-type-factors.m Unbreak non-Darwin builds 2010-05-30 04:00:50 +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 tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them on 2010-08-24 21:39:55 +00:00
crash-recovery-reparse.c tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them on 2010-08-24 21:39:55 +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
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-exprs.c Unbreak test on windows. 2010-04-11 22:25:18 +00:00
load-stmts.cpp Specially handle CaseStmts in CursorVisitor because they can be nested and walking them 2010-05-13 00:25:00 +00:00
local-symbols.m Workaround: Don't add ObjCMethodDecls to the vector of TopLevelDecls since they don't go in 2010-05-03 20:16:35 +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 Give a slight preference to functions returning "void" when we're 2010-08-24 23:58:17 +00:00
print-typekind.c Add clang_isPODType() for querying if the CXType is POD. Implements <rdar://problem/8250669>. 2010-07-30 00:14: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 Teach CursorVisitor about duplicate ObjCPropertyDecls that can arise because of a current 2010-05-18 21:09:07 +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 Make sure that we have File IDs for all of the unsaved files before we 2010-03-24 21:04:06 +00:00
remap-cursor-at.c CIndex: Use 'env' instead of relying on bash environment-variable setting 2010-02-02 05:20:37 +00:00
remap-load.c Re-apply r103581 with updated tests. It turns out we were computing bogus locations for 2010-05-12 06:16:13 +00:00
usrs.cpp Update test case to include USRs containing offsets instead of line/columns. 2010-07-22 11:30:17 +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