2012-08-10 06:33:50 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
|
|
asmparser
|
|
|
|
support
|
|
|
|
mc
|
|
|
|
)
|
|
|
|
|
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
|
2011-03-23 23:13:44 +08:00
|
|
|
DelayedDiagnostic.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
IdentifierResolver.cpp
|
2009-04-19 12:46:21 +08:00
|
|
|
JumpDiagnostics.cpp
|
2012-10-19 03:05:02 +08:00
|
|
|
MultiplexExternalSemaSource.cpp
|
2011-05-02 06:35:37 +08:00
|
|
|
Scope.cpp
|
2012-09-29 06:21:39 +08:00
|
|
|
ScopeInfo.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
|
2008-11-11 16:29:24 +08:00
|
|
|
SemaCXXScopeSpec.cpp
|
2011-10-12 01:38:55 +08:00
|
|
|
SemaCast.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
|
2011-12-20 16:42:15 +08:00
|
|
|
SemaConsumer.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
|
2011-06-23 08:49:38 +08:00
|
|
|
SemaExprMember.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaExprObjC.cpp
|
2011-07-29 03:46:48 +08:00
|
|
|
SemaFixItUtils.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaInit.cpp
|
2012-02-09 05:18:48 +08:00
|
|
|
SemaLambda.cpp
|
2009-01-15 06:20:51 +08:00
|
|
|
SemaLookup.cpp
|
2010-03-12 08:38:40 +08:00
|
|
|
SemaObjCProperty.cpp
|
2013-03-22 14:34:35 +08:00
|
|
|
SemaOpenMP.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaOverload.cpp
|
2011-10-26 01:37:35 +08:00
|
|
|
SemaPseudoObject.cpp
|
2008-10-26 08:56:18 +08:00
|
|
|
SemaStmt.cpp
|
2012-08-18 05:19:40 +08:00
|
|
|
SemaStmtAsm.cpp
|
2012-04-14 08:33:13 +08:00
|
|
|
SemaStmtAttr.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
|
|
|
|
2012-06-21 09:30:21 +08:00
|
|
|
add_dependencies(clangSema
|
|
|
|
ClangARMNeon
|
|
|
|
ClangAttrClasses
|
|
|
|
ClangAttrList
|
2012-07-27 14:18:12 +08:00
|
|
|
ClangAttrParsedAttrList
|
|
|
|
ClangAttrParsedAttrKinds
|
2013-01-25 00:46:58 +08:00
|
|
|
ClangAttrSpellingListIndex
|
2012-07-27 14:18:12 +08:00
|
|
|
ClangAttrTemplateInstantiate
|
2012-07-06 08:28:32 +08:00
|
|
|
ClangCommentNodes
|
2012-06-21 09:30:21 +08:00
|
|
|
ClangDeclNodes
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangDiagnosticAST
|
2012-07-27 14:18:12 +08:00
|
|
|
ClangDiagnosticComment
|
2012-07-27 14:18:33 +08:00
|
|
|
ClangDiagnosticCommon
|
|
|
|
ClangDiagnosticParse
|
2012-07-27 14:18:12 +08:00
|
|
|
ClangDiagnosticSema
|
2012-06-21 09:30:21 +08:00
|
|
|
ClangStmtNodes
|
|
|
|
)
|
2012-03-07 08:12:16 +08:00
|
|
|
|
2012-06-21 09:30:21 +08:00
|
|
|
target_link_libraries(clangSema
|
|
|
|
clangAST
|
|
|
|
clangAnalysis
|
|
|
|
clangBasic
|
|
|
|
clangEdit
|
|
|
|
clangLex
|
|
|
|
)
|