llvm-project/clang/lib/Frontend/Rewrite
Alexander Kornienko 41c247a677 Make DiagnosticsEngine::takeClient return std::unique_ptr<>
Summary:
Make DiagnosticsEngine::takeClient return std::unique_ptr<>. Updated
callers to store conditional ownership using a pair of pointer and unique_ptr
instead of a pointer + bool. Updated code that temporarily registers clients to
use the non-owning registration (+ removed extra calls to takeClient).

Reviewers: dblaikie

Reviewed By: dblaikie

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D6294

llvm-svn: 222193
2014-11-17 23:46:02 +00:00
..
CMakeLists.txt
FixItRewriter.cpp Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00
FrontendActions.cpp Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325) 2014-08-10 19:56:51 +00:00
HTMLPrint.cpp Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325) 2014-08-10 19:56:51 +00:00
InclusionRewriter.cpp Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
Makefile
RewriteMacros.cpp
RewriteModernObjC.cpp Objective-C modern rewriter. Patch to fix a rewriting bug 2014-10-28 23:46:58 +00:00
RewriteObjC.cpp Remove some redundant virtual specifiers on overriden functions. 2014-11-14 19:09:44 +00:00
RewriteTest.cpp