summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-10-03 06:26:13 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-10-03 06:26:13 +0000
commit6745522f89177509958d596e6029b975e50bd85b (patch)
tree3e88a387931e89e6af85adbd0d60dc49f674c790 /clang/lib/AST/ASTContext.cpp
parent42e8a63e4f43546ad4cd983582987f22cca562cb (diff)
downloadbcm5719-llvm-6745522f89177509958d596e6029b975e50bd85b.tar.gz
bcm5719-llvm-6745522f89177509958d596e6029b975e50bd85b.zip
Extract ABI-specific parts of MangleContext into separate classes
Reviewed at http://llvm-reviews.chandlerc.com/D1807 llvm-svn: 191878
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 043ed99c1a0..3b5bfe6d8c3 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -7981,9 +7981,9 @@ MangleContext *ASTContext::createMangleContext() {
case TargetCXXABI::GenericItanium:
case TargetCXXABI::GenericARM:
case TargetCXXABI::iOS:
- return createItaniumMangleContext(*this, getDiagnostics());
+ return ItaniumMangleContext::create(*this, getDiagnostics());
case TargetCXXABI::Microsoft:
- return createMicrosoftMangleContext(*this, getDiagnostics());
+ return MicrosoftMangleContext::create(*this, getDiagnostics());
}
llvm_unreachable("Unsupported ABI");
}
OpenPOWER on IntegriCloud