]> granicus.if.org Git - clang/commitdiff
Add a CGCXXABI.cpp file.
authorAnders Carlsson <andersca@mac.com>
Sun, 28 Nov 2010 17:46:52 +0000 (17:46 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 28 Nov 2010 17:46:52 +0000 (17:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120249 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCXXABI.cpp [new file with mode: 0644]
lib/CodeGen/CMakeLists.txt

diff --git a/lib/CodeGen/CGCXXABI.cpp b/lib/CodeGen/CGCXXABI.cpp
new file mode 100644 (file)
index 0000000..aeba147
--- /dev/null
@@ -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;
+
index 1a0913580f5352e3c4af4fec51a95eff08581819..b985d685045948f5e1374e747c3a8ecc40b85b43 100644 (file)
@@ -9,6 +9,7 @@ add_clang_library(clangCodeGen
   CGCall.cpp
   CGClass.cpp
   CGCXX.cpp
+  CGCXXABI.cpp
   CGDebugInfo.cpp
   CGDecl.cpp
   CGDeclCXX.cpp