hanchenye-llvm-project/clang/tools/driver
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 Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt. 2014-07-15 11:37:03 +00:00
Info.plist.in
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
cc1_main.cpp One other BuryPointer of a unique_ptr cleanup. 2014-08-29 17:02:26 +00:00
cc1as_main.cpp Update for llvm api change. 2014-10-15 16:12:57 +00:00
clang_symlink.cmake cmake: install a cl.exe binary in the tools/msbuild-bin dir 2013-08-28 01:58:44 +00:00
driver.cpp Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00