diff options
author | Anders Carlsson <andersca@mac.com> | 2009-04-15 04:36:55 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-04-15 04:36:55 +0000 |
commit | 68a359cac7532c465d7673314f294710a7054c38 (patch) | |
tree | 0417e3b2fb196d3bcb84188476e54c1650d531d9 /lib/CodeGen | |
parent | 5147e8e0186ec7d4c2c2aeb348c0354c1c3302f9 (diff) |
Add CGCXX.h with ctor/dtor type enumerations. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGCXX.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXX.h b/lib/CodeGen/CGCXX.h new file mode 100644 index 0000000000..6051d9133c --- /dev/null +++ b/lib/CodeGen/CGCXX.h @@ -0,0 +1,36 @@ +//===----- CGCXX.h - C++ related code CodeGen declarations ------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// These classes wrap the information about a call or function +// definition used to handle ABI compliancy. +// +//===----------------------------------------------------------------------===// + +#ifndef CLANG_CODEGEN_CGCXX_H +#define CLANG_CODEGEN_CGCXX_H + +namespace clang { + +/// CXXCtorType - C++ constructor types +enum CXXCtorType { + Ctor_Complete, // Complete object ctor + Ctor_Base, // Base object ctor + Ctor_CompleteAllocating // Complete object allocating ctor +}; + +/// CXXDtorType - C++ destructor types +enum CXXDtorType { + Dtor_Deleting, // Deleting dtor + Dtor_Complete, // Complete object dtor + Dtor_Base // Base object dtor +}; + +} // end namespace clang + +#endif // CLANG_CODEGEN_CGCXX_H |