From: Anders Carlsson Date: Sun, 28 Nov 2010 17:46:52 +0000 (+0000) Subject: Add a CGCXXABI.cpp file. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4992eaf5f3a1f47cf53f5f187d672e4ff83ceaf7;p=clang Add a CGCXXABI.cpp file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120249 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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