llvm-project/clang/lib/Sema
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
..
AnalysisBasedWarnings.cpp Stop referring to functions as methods in per-function fallthrough-checking. 2012-06-15 21:22:05 +00:00
AttributeList.cpp Handle C++11 attribute namespaces automatically. 2012-06-18 16:13:52 +00:00
CMakeLists.txt Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
CodeCompleteConsumer.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
DeclSpec.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
JumpDiagnostics.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Makefile
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp patch to suggest 'static' function should be 'static inline' 2012-06-27 19:43:29 +00:00
SemaAccess.cpp Diagnostics cleanup: Fixing \params to match the code. 2012-06-22 08:52:37 +00:00
SemaAttr.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
SemaCXXScopeSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaCast.cpp Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. 2012-06-16 02:19:17 +00:00
SemaChecking.cpp When a builtin that requires a constant is given a type- or 2012-06-29 01:05:22 +00:00
SemaCodeComplete.cpp Add a new libclang completion API to get brief documentation comment that is 2012-07-02 17:35:10 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp In Sema::ClassifyName, try to avoid nonsensical corrections to 2012-06-29 21:30:39 +00:00
SemaDeclAttr.cpp Support the tls_model attribute (PR9788) 2012-06-23 11:51:46 +00:00
SemaDeclCXX.cpp Avoid redundant error when redefining a function as deleted. 2012-06-29 18:00:25 +00:00
SemaDeclObjC.cpp Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
SemaExceptionSpec.cpp Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType() 2012-05-04 16:32:21 +00:00
SemaExpr.cpp Change condition to be the same as in SemaTemplateInstantiate. 2012-06-29 16:39:58 +00:00
SemaExprCXX.cpp Teach the __is_trivially_assignable and __is_trivially_constructible 2012-06-29 00:49:17 +00:00
SemaExprMember.cpp objective-c: If an ivar is (1) the first ivar in a root class and (2) named `isa`, 2012-06-21 21:35:15 +00:00
SemaExprObjC.cpp Warn on weak properties declared in protocols as well. 2012-06-28 16:39:28 +00:00
SemaFixItUtils.cpp Add FixItHint for -Wnull-conversion to initialize with an appropriate literal. 2012-04-30 18:27:22 +00:00
SemaInit.cpp Still more Doxygen documentation fixes: 2012-06-14 21:40:34 +00:00
SemaLambda.cpp Check the parameter lists and return type of both blocks and lambdas 2012-06-15 16:59:29 +00:00
SemaLookup.cpp Add support for the C11 _Alignof keyword. 2012-06-30 21:33:57 +00:00
SemaObjCProperty.cpp fix a typo in my last commit. I thought I recompiled, 2012-06-29 19:05:11 +00:00
SemaOverload.cpp Unrevert r158887, reverted in r158949, along with a fix for the bug which 2012-06-25 20:30:08 +00:00
SemaPseudoObject.cpp Change warning to error when property setter names conflict. 2012-05-26 16:10:06 +00:00
SemaStmt.cpp Pretend that enum constants have enum type when inferring a block return type. 2012-06-21 05:54:55 +00:00
SemaStmtAttr.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
SemaTemplate.cpp Documentation cleanup: 2012-06-15 22:23:43 +00:00
SemaTemplateDeduction.cpp Documentation cleanup: making \param docs match the code. 2012-06-22 10:16:05 +00:00
SemaTemplateInstantiate.cpp Give L__FUNCTION__ the right type in templates. PR13206. 2012-06-25 22:34:48 +00:00
SemaTemplateInstantiateDecl.cpp Make explicit specializations at class scope work 2012-06-25 17:21:05 +00:00
SemaTemplateVariadic.cpp For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is 2012-04-04 06:24:32 +00:00
SemaType.cpp Whitespace. 2012-06-26 21:41:40 +00:00
TargetAttributesSema.cpp Reapply r158700 and fixup patches, minus one hunk that slipped through and 2012-06-19 23:57:03 +00:00
TargetAttributesSema.h
TreeTransform.h Documentation cleanup: 2012-06-15 07:13:21 +00:00
TypeLocBuilder.h Remove more unnecessary #include <llvm/ADT/SmallVector.h> 2011-06-20 06:11:46 +00:00