aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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
commita57478e8f6f88bbcab3354688fe9783a741dd5a4 (patch)
treed3dfd7bd5890943829ec23cc1cf80a4a666ee071 /clang/lib/Frontend/CompilerInvocation.cpp
parentc0cf422d5671d000fcd0aa724ba8e0718224e3c2 (diff)
downloadllvm-a57478e8f6f88bbcab3354688fe9783a741dd5a4.zip
llvm-a57478e8f6f88bbcab3354688fe9783a741dd5a4.tar.gz
llvm-a57478e8f6f88bbcab3354688fe9783a741dd5a4.tar.bz2
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions