summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXABI.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2013-01-25 23:36:14 +0000
committerJohn McCall <rjmccall@apple.com>2013-01-25 23:36:14 +0000
commit5762592b49b047568a547b8eb1be0c6e6deea4bb (patch)
treefb0f5a93f2f9954eec808590b1f00b8ccd5f0005 /clang/lib/CodeGen/CGCXXABI.h
parent7211ac15bbd97fd9ea8016a6632cb039a1071f1d (diff)
downloadbcm5719-llvm-5762592b49b047568a547b8eb1be0c6e6deea4bb.tar.gz
bcm5719-llvm-5762592b49b047568a547b8eb1be0c6e6deea4bb.zip
Move the decision about the kind of CGCXXABI to make inside
the family-specific files. llvm-svn: 173530
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r--clang/lib/CodeGen/CGCXXABI.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h
index 60e1020b990..c319c062eff 100644
--- a/clang/lib/CodeGen/CGCXXABI.h
+++ b/clang/lib/CodeGen/CGCXXABI.h
@@ -296,9 +296,12 @@ public:
llvm::Constant *addr);
};
-/// Creates an instance of a C++ ABI class.
-CGCXXABI *CreateARMCXXABI(CodeGenModule &CGM);
+// Create an instance of a C++ ABI class:
+
+/// Creates an Itanium-family ABI.
CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
+
+/// Creates a Microsoft-family ABI.
CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
}
OpenPOWER on IntegriCloud