llvm-project/clang/test/CodeCompletion
Dmitri Gribenko 3292d06a1b Add a new libclang completion API to get brief documentation comment that is
attached to a declaration in the completion string.

Since extracting comments isn't free, a new code completion option is
introduced.

A new code completion option that enables including brief comments
into CodeCompletionString should be a, err, code completion option.
But because ASTUnit caches global declarations during parsing before
even completion consumer is created, the option is duplicated as a
translation unit option (in both libclang and ASTUnit, like the option
to cache code completion results).

llvm-svn: 159539
2012-07-02 17:35:10 +00:00
..
Inputs Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
PR9728.cpp Fix an assertion when code-completing, rdar://9288730 & http://llvm.org/PR9728. 2011-04-23 01:04:12 +00:00
call.c Only enable code patterns (e.g., try { statements } catch (...) { 2010-05-25 21:41:55 +00:00
call.cpp Revert the fix for PR8013. 2010-11-09 20:03:54 +00:00
documentation.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
enum-switch-case-qualified.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
enum-switch-case.c Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
enum-switch-case.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
function-templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
functions.cpp When provide code completions for a variadic Objective-C method 2010-08-31 05:13:43 +00:00
macros.c Only prove macros as code-completion results when we're in a case 2010-04-06 20:02:15 +00:00
member-access.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-access.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
namespace-alias.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
namespace.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
nested-name-specifier.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
objc-expr.m [completion] Add completions for @"..." and @(...), and tidy up @[] and @{}. 2012-06-15 18:19:56 +00:00
objc-message.m Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
operator.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
ordinary-name.c Don't crash when code-completing after "#include <". It would be far 2010-12-09 23:35:36 +00:00
ordinary-name.cpp Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
preamble.c Add 'env' in hopes of making this test pass on Windows. 2012-04-16 03:22:35 +00:00
some_struct.h Implement the all_lookups_iterator for PCH as a follow-up to r153970. This 2012-04-16 02:51:46 +00:00
stdin.c Add support for code completion on stdin. 2010-10-26 23:21:25 +00:00
tag.c Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
tag.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
truncation.c Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
truncation.c.h Replace the -code-completion-dump option with 2009-09-22 21:11:38 +00:00
using-namespace.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00
using.cpp Improve the sorting of code-completion results. We now always sort by 2010-01-13 23:24:38 +00:00