blob: 6051d9133c026e69d859f5fa22ed364ac205f8d2 [file] [log] [blame]
Anders Carlsson68a359c2009-04-15 04:36:55 +00001//===----- 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
18namespace clang {
19
20/// CXXCtorType - C++ constructor types
21enum 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
28enum 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