From 4992eaf5f3a1f47cf53f5f187d672e4ff83ceaf7 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 28 Nov 2010 17:46:52 +0000 Subject: [PATCH] Add a CGCXXABI.cpp file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120249 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGCXXABI.cpp | 18 ++++++++++++++++++ lib/CodeGen/CMakeLists.txt | 1 + 2 files changed, 19 insertions(+) create mode 100644 lib/CodeGen/CGCXXABI.cpp 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 -- 2.40.0