diff options
author | Anders Carlsson <andersca@mac.com> | 2009-04-04 20:47:02 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-04-04 20:47:02 +0000 |
commit | 2b77ba8bc7a842829ad9193816dc1d7d5e9c5be6 (patch) | |
tree | 0ff8712562e6dc4c001354842f66513342bb0991 /lib/CodeGen/CodeGenFunction.h | |
parent | 348f28ab6a574df6501ff8b76f9fc6753c155bad (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.h | 4 |
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); |