2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_USED_LIBS clangBasic clangAST clangLex clangAnalysis)
|
|
|
|
|
2008-10-26 08:56:18 +08:00
|
|
|
add_clang_library(clangSema
|
2010-03-21 05:06:02 +08:00
|
|
|
AnalysisBasedWarnings.cpp
|
2010-08-21 02:27:03 +08:00
|
|
|
AttributeList.cpp
|
Initial implementation of a code-completion interface in Clang. In
essence, code completion is triggered by a magic "code completion"
token produced by the lexer [*], which the parser recognizes at
certain points in the grammar. The parser then calls into the Action
object with the appropriate CodeCompletionXXX action.
Sema implements the CodeCompletionXXX callbacks by performing minimal
translation, then forwarding them to a CodeCompletionConsumer
subclass, which uses the results of semantic analysis to provide
code-completion results. At present, only a single, "printing" code
completion consumer is available, for regression testing and
debugging. However, the design is meant to permit other
code-completion consumers.
This initial commit contains two code-completion actions: one for
member access, e.g., "x." or "p->", and one for
nested-name-specifiers, e.g., "std::". More code-completion actions
will follow, along with improved gathering of code-completion results
for the various contexts.
[*] In the current -code-completion-dump testing/debugging mode, the
file is truncated at the completion point and EOF is translated into
"code completion".
llvm-svn: 82166
2009-09-18 05:32:03 +08:00
|
|
|
CodeCompleteConsumer.cpp
|
2010-08-21 02:27:03 +08:00
|
|
|
DeclSpec.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
IdentifierResolver.cpp
|
2009-04-19 12:46:21 +08:00
|
|
|
JumpDiagnostics.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
Sema.cpp
|
2009-03-27 13:18:33 +08:00
|
|
|
SemaAccess.cpp
|
2009-02-17 08:57:29 +08:00
|
|
|
SemaAttr.cpp
|
2009-07-18 23:08:18 +08:00
|
|
|
SemaCXXCast.cpp
|
2008-11-11 16:29:24 +08:00
|
|
|
SemaCXXScopeSpec.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
SemaChecking.cpp
|
Initial implementation of a code-completion interface in Clang. In
essence, code completion is triggered by a magic "code completion"
token produced by the lexer [*], which the parser recognizes at
certain points in the grammar. The parser then calls into the Action
object with the appropriate CodeCompletionXXX action.
Sema implements the CodeCompletionXXX callbacks by performing minimal
translation, then forwarding them to a CodeCompletionConsumer
subclass, which uses the results of semantic analysis to provide
code-completion results. At present, only a single, "printing" code
completion consumer is available, for regression testing and
debugging. However, the design is meant to permit other
code-completion consumers.
This initial commit contains two code-completion actions: one for
member access, e.g., "x." or "p->", and one for
nested-name-specifiers, e.g., "std::". More code-completion actions
will follow, along with improved gathering of code-completion results
for the various contexts.
[*] In the current -code-completion-dump testing/debugging mode, the
file is truncated at the completion point and EOF is translated into
"code completion".
llvm-svn: 82166
2009-09-18 05:32:03 +08:00
|
|
|
SemaCodeComplete.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaDecl.cpp
|
2009-07-16 05:08:41 +08:00
|
|
|
SemaDeclAttr.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaDeclCXX.cpp
|
|
|
|
SemaDeclObjC.cpp
|
2009-10-11 17:03:14 +08:00
|
|
|
SemaExceptionSpec.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaExpr.cpp
|
|
|
|
SemaExprCXX.cpp
|
|
|
|
SemaExprObjC.cpp
|
|
|
|
SemaInit.cpp
|
2009-01-15 06:20:51 +08:00
|
|
|
SemaLookup.cpp
|
2010-03-12 08:38:40 +08:00
|
|
|
SemaObjCProperty.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaOverload.cpp
|
|
|
|
SemaStmt.cpp
|
2008-12-06 02:15:24 +08:00
|
|
|
SemaTemplate.cpp
|
2009-06-04 08:03:07 +08:00
|
|
|
SemaTemplateDeduction.cpp
|
2009-02-28 03:31:52 +08:00
|
|
|
SemaTemplateInstantiate.cpp
|
2009-03-18 05:15:40 +08:00
|
|
|
SemaTemplateInstantiateDecl.cpp
|
2010-12-16 01:38:57 +08:00
|
|
|
SemaTemplateVariadic.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaType.cpp
|
2010-01-10 21:06:34 +08:00
|
|
|
TargetAttributesSema.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
)
|
2009-03-17 07:06:59 +08:00
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
add_dependencies(clangSema ClangARMNeon ClangAttrClasses ClangAttrList
|
|
|
|
ClangDiagnosticSema ClangDeclNodes ClangStmtNodes)
|