diff options
author | Anders Carlsson <andersca@mac.com> | 2009-04-15 05:36:58 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-04-15 05:36:58 +0000 |
commit | 3ac86b59b03086ce2acc1ddf3b30ffcd18aeeb65 (patch) | |
tree | 055fada88061cf1cf5e0442465e8b503c5e385fc /lib/CodeGen/Mangle.h | |
parent | 839324d564c7263402fb49e73c307817a0e5992c (diff) |
Add support for mangling C++ constructors. Review appreciated (I'm looking at you, Doug)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r-- | lib/CodeGen/Mangle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h index b3f88b0d68..a8ca09d1cf 100644 --- a/lib/CodeGen/Mangle.h +++ b/lib/CodeGen/Mangle.h @@ -18,12 +18,15 @@ #ifndef LLVM_CLANG_CODEGEN_MANGLE_H #define LLVM_CLANG_CODEGEN_MANGLE_H +#include "CGCXX.h" + namespace llvm { class raw_ostream; } namespace clang { class ASTContext; + class CXXConstructorDecl; class NamedDecl; class VarDecl; @@ -31,6 +34,8 @@ namespace clang { llvm::raw_ostream &os); void mangleGuardVariable(const VarDecl *D, ASTContext &Context, llvm::raw_ostream &os); + void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type, + ASTContext &Context, llvm::raw_ostream &os); } #endif |