aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-04 20:47:02 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-04 20:47:02 +0000
commit2b77ba8bc7a842829ad9193816dc1d7d5e9c5be6 (patch)
tree0ff8712562e6dc4c001354842f66513342bb0991 /lib/CodeGen/CodeGenFunction.h
parent348f28ab6a574df6501ff8b76f9fc6753c155bad (diff)
Add some basic support for generating C++ member functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 13a0e85486..96db4a45c7 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -232,6 +232,10 @@ 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.
+ ImplicitParamDecl *CXXThisDecl;
+
public:
CodeGenFunction(CodeGenModule &cgm);