Skip to content
Commit a57478e8 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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.

llvm-svn: 102840
parent c0cf422d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment