summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-25 03:15:49 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-25 03:15:49 +0000
commit82ba57c8f0c8641987b8a822c6c0b9292ac1cf77 (patch)
tree62dfaf244f24c33ba6c93eaab3c135e492bb1b3c /clang/lib/CodeGen/CodeGenFunction.h
parent3931461a3320c49f85182fe8898654cf1a8354c9 (diff)
downloadbcm5719-llvm-82ba57c8f0c8641987b8a822c6c0b9292ac1cf77.tar.gz
bcm5719-llvm-82ba57c8f0c8641987b8a822c6c0b9292ac1cf77.zip
Add VTT parameter to base ctors/dtors with virtual bases. (They aren't used yet).
llvm-svn: 89835
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 4fde0dd864f..28e000a4920 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -317,10 +317,15 @@ private:
/// BlockScopes - Map of which "cleanup scope" scope basic blocks have.
BlockScopeMap BlockScopes;
- /// CXXThisDecl - When parsing an C++ function, this will hold the implicit
- /// 'this' declaration.
+ /// CXXThisDecl - When generating code for a C++ member function,
+ /// this will hold the implicit 'this' declaration.
ImplicitParamDecl *CXXThisDecl;
+ /// CXXVTTDecl - When generating code for a base object constructor or
+ /// base object destructor with virtual bases, this will hold the implicit
+ /// VTT parameter.
+ ImplicitParamDecl *CXXVTTDecl;
+
/// CXXLiveTemporaryInfo - Holds information about a live C++ temporary.
struct CXXLiveTemporaryInfo {
/// Temporary - The live temporary.
OpenPOWER on IntegriCloud