llvm-project/clang/lib/CodeGen/CMakeLists.txt
Peter Collingbourne 0ff0b37627 Move name mangling support from CodeGen to AST. In the
process, perform a number of refactorings:

- Move MiscNameMangler member functions to MangleContext
- Remove GlobalDecl dependency from MangleContext
- Make MangleContext abstract and move Itanium/Microsoft functionality
  to their own classes/files
- Implement ASTContext::createMangleContext and have CodeGen use it

No (intended) functionality change.

llvm-svn: 123386
2011-01-13 18:57:25 +00:00

45 lines
819 B
CMake

set(LLVM_NO_RTTI 1)
set(LLVM_USED_LIBS clangBasic clangAST clangFrontend)
add_clang_library(clangCodeGen
BackendUtil.cpp
CGBlocks.cpp
CGBuiltin.cpp
CGCall.cpp
CGClass.cpp
CGCXX.cpp
CGCXXABI.cpp
CGDebugInfo.cpp
CGDecl.cpp
CGDeclCXX.cpp
CGException.cpp
CGExpr.cpp
CGExprAgg.cpp
CGExprComplex.cpp
CGExprConstant.cpp
CGExprCXX.cpp
CGExprScalar.cpp
CGObjC.cpp
CGObjCGNU.cpp
CGObjCMac.cpp
CGRecordLayoutBuilder.cpp
CGRTTI.cpp
CGStmt.cpp
CGTemporaries.cpp
CGVTables.cpp
CGVTT.cpp
CodeGenAction.cpp
CodeGenFunction.cpp
CodeGenModule.cpp
CodeGenTBAA.cpp
CodeGenTypes.cpp
ItaniumCXXABI.cpp
MicrosoftCXXABI.cpp
ModuleBuilder.cpp
TargetInfo.cpp
)
add_dependencies(clangCodeGen ClangAttrClasses ClangAttrList ClangDeclNodes
ClangStmtNodes)