aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-11-28 17:46:52 +0000
committerAnders Carlsson <andersca@mac.com>2010-11-28 17:46:52 +0000
commit4992eaf5f3a1f47cf53f5f187d672e4ff83ceaf7 (patch)
tree9d8599d95415e4c568bf74e91cf8ad707231a363
parentf8b3015060096a946d91578d0f3b65d3097a4ebb (diff)
Add a CGCXXABI.cpp file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120249 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CGCXXABI.cpp18
-rw-r--r--lib/CodeGen/CMakeLists.txt1
2 files changed, 19 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXXABI.cpp b/lib/CodeGen/CGCXXABI.cpp
new file mode 100644
index 0000000000..aeba147098
--- /dev/null
+++ b/lib/CodeGen/CGCXXABI.cpp
@@ -0,0 +1,18 @@
+//===----- CGCXXABI.cpp - Interface to C++ ABIs -----------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This provides an abstract class for C++ code generation. Concrete subclasses
+// of this implement code generation for specific C++ ABIs.
+//
+//===----------------------------------------------------------------------===//
+
+#include "CGCXXABI.h"
+
+using namespace clang;
+
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt
index 1a0913580f..b985d68504 100644
--- a/lib/CodeGen/CMakeLists.txt
+++ b/lib/CodeGen/CMakeLists.txt
@@ -9,6 +9,7 @@ add_clang_library(clangCodeGen
CGCall.cpp
CGClass.cpp
CGCXX.cpp
+ CGCXXABI.cpp
CGDebugInfo.cpp
CGDecl.cpp
CGDeclCXX.cpp