summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/MicrosoftCXXABI.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-08-16 03:33:14 +0000
committerCharles Davis <cdavis@mines.edu>2010-08-16 03:33:14 +0000
commit53c59df2f7d2395c6b44a1b7ff5ec6be6792e150 (patch)
tree8bff2acce252777eb676dba37f3181040ab41eab /clang/lib/CodeGen/MicrosoftCXXABI.cpp
parentdf28e8ec4145fbe407f09dc2458d42cd9f12bd99 (diff)
downloadbcm5719-llvm-53c59df2f7d2395c6b44a1b7ff5ec6be6792e150.tar.gz
bcm5719-llvm-53c59df2f7d2395c6b44a1b7ff5ec6be6792e150.zip
Implement support for member pointers under the Microsoft C++ ABI in the
AST library. This also adds infrastructure for supporting multiple C++ ABIs in the AST. llvm-svn: 111117
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftCXXABI.cpp')
-rw-r--r--clang/lib/CodeGen/MicrosoftCXXABI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/MicrosoftCXXABI.cpp b/clang/lib/CodeGen/MicrosoftCXXABI.cpp
index da0fdb616d6..cfc635a7a4c 100644
--- a/clang/lib/CodeGen/MicrosoftCXXABI.cpp
+++ b/clang/lib/CodeGen/MicrosoftCXXABI.cpp
@@ -110,7 +110,7 @@ public:
llvm::SmallVectorImpl<char> &);
};
-class MicrosoftCXXABI : public CXXABI {
+class MicrosoftCXXABI : public CGCXXABI {
MicrosoftMangleContext MangleCtx;
public:
MicrosoftCXXABI(CodeGenModule &CGM)
@@ -1185,7 +1185,7 @@ void MicrosoftMangleContext::mangleCXXDtor(const CXXDestructorDecl *D,
assert(false && "Can't yet mangle destructors!");
}
-CXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) {
+CGCXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) {
return new MicrosoftCXXABI(CGM);
}
OpenPOWER on IntegriCloud