From 0ff0b3762766d4e2d13a76cd9dea080195b73a5d Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 13 Jan 2011 18:57:25 +0000 Subject: 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 --- clang/lib/AST/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/lib/AST/CMakeLists.txt') diff --git a/clang/lib/AST/CMakeLists.txt b/clang/lib/AST/CMakeLists.txt index e98a89646c3..b49b89ed886 100644 --- a/clang/lib/AST/CMakeLists.txt +++ b/clang/lib/AST/CMakeLists.txt @@ -26,7 +26,10 @@ add_clang_library(clangAST ExprCXX.cpp InheritViz.cpp ItaniumCXXABI.cpp + ItaniumMangle.cpp + Mangle.cpp MicrosoftCXXABI.cpp + MicrosoftMangle.cpp NestedNameSpecifier.cpp ParentMap.cpp RecordLayout.cpp -- cgit v1.2.3