diff options
author | Mike Stump <mrs@apple.com> | 2009-07-31 18:25:34 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-31 18:25:34 +0000 |
commit | f121677b6bbbf4e4a51ee7a1120b77adf187bad4 (patch) | |
tree | 152d7af9683edcc44068f0817ca9b5fceb7dc171 /lib/CodeGen/Mangle.h | |
parent | 29852b68b677bfcbcb51fb2b3b7b756665376b4f (diff) |
Add code to setup the vtable pointer in the constructor. Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r-- | lib/CodeGen/Mangle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h index 77cbd97751..1a5ca63c50 100644 --- a/lib/CodeGen/Mangle.h +++ b/lib/CodeGen/Mangle.h @@ -19,6 +19,7 @@ #define LLVM_CLANG_CODEGEN_MANGLE_H #include "CGCXX.h" +#include "clang/AST/Type.h" namespace llvm { class raw_ostream; @@ -35,6 +36,7 @@ namespace clang { llvm::raw_ostream &os); void mangleGuardVariable(const VarDecl *D, ASTContext &Context, llvm::raw_ostream &os); + void mangleCXXVtable(QualType T, ASTContext &Context, llvm::raw_ostream &os); void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type, ASTContext &Context, llvm::raw_ostream &os); void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, |