diff options
author | Anders Carlsson <andersca@mac.com> | 2009-10-30 01:42:31 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-10-30 01:42:31 +0000 |
commit | 756b5c4f9d52642d87d1948bee58f97a4f795b24 (patch) | |
tree | 658d4ad8ce5a727a6772b011e6d0facede7c6d11 /lib/CodeGen/CGException.cpp | |
parent | 731f7f95836f6f80a10ceae3027a7237ce443f33 (diff) |
Add CGException.cpp, to be used for exception related code generation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r-- | lib/CodeGen/CGException.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp new file mode 100644 index 0000000000..fe62fa7867 --- /dev/null +++ b/lib/CodeGen/CGException.cpp @@ -0,0 +1,20 @@ +//===--- CGException.cpp - Emit LLVM Code for C++ exceptions --------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This contains code dealing with C++ exception related code generation. +// +//===----------------------------------------------------------------------===// + +#include "CodeGenFunction.h" +using namespace clang; +using namespace CodeGen; + +void CodeGenFunction::EmitCXXThrowExpr(const CXXThrowExpr *E) { + ErrorUnsupported(E, "throw expression"); +} |