diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-05-01 15:04:51 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-05-01 15:04:51 +0000 |
commit | a57478e8f6f88bbcab3354688fe9783a741dd5a4 (patch) | |
tree | d3dfd7bd5890943829ec23cc1cf80a4a666ee071 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c0cf422d5671d000fcd0aa724ba8e0718224e3c2 (diff) | |
download | llvm-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