Anders Carlsson | 68a359c | 2009-04-15 04:36:55 +0000 | [diff] [blame] | 1 | //===----- CGCXX.h - C++ related code CodeGen declarations ------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // These classes wrap the information about a call or function |
| 11 | // definition used to handle ABI compliancy. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef CLANG_CODEGEN_CGCXX_H |
| 16 | #define CLANG_CODEGEN_CGCXX_H |
| 17 | |
| 18 | namespace clang { |
| 19 | |
| 20 | /// CXXCtorType - C++ constructor types |
| 21 | enum CXXCtorType { |
| 22 | Ctor_Complete, // Complete object ctor |
| 23 | Ctor_Base, // Base object ctor |
| 24 | Ctor_CompleteAllocating // Complete object allocating ctor |
| 25 | }; |
| 26 | |
| 27 | /// CXXDtorType - C++ destructor types |
| 28 | enum CXXDtorType { |
| 29 | Dtor_Deleting, // Deleting dtor |
| 30 | Dtor_Complete, // Complete object dtor |
| 31 | Dtor_Base // Base object dtor |
| 32 | }; |
| 33 | |
| 34 | } // end namespace clang |
| 35 | |
| 36 | #endif // CLANG_CODEGEN_CGCXX_H |