aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-01 15:04:51 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-01 15:04:51 +0000
commit39957dce3df743023906926b40108d99bc8b0ce2 (patch)
tree9b9edcae0c4999677ec3e10c94893d6cc0af0a24 /lib/CodeGen/CodeGenFunction.h
parent63e742bed90aab2e8e778e48fbbd4bce766b4373 (diff)
Added an RAII object that helps set up/tear down the Sema context
information required to implicitly define a C++ special member function. Use it rather than explicitly setting CurContext on entry and exit, which is fragile. Use this RAII object for the implicitly-defined default constructor, copy constructor, copy assignment operator, and destructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions