llvm-project/clang/tools
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
..
arcmt-test Use the simpler version of llvm::sys::fs::exists. 2014-09-11 18:10:13 +00:00
c-arcmt-test Support LLVM_BUILD_STATIC. 2014-11-05 14:04:25 +00:00
c-index-test Support LLVM_BUILD_STATIC. 2014-11-05 14:04:25 +00:00
clang-check [clang-tidy] Move -extra-arg handling to CommonOptionsProvider 2014-11-04 08:51:24 +00:00
clang-format clang-format: Give clang-format-diff.py a -v option. 2014-11-14 13:27:28 +00:00
clang-format-vs Update build instructions for the clang-format VS plugin 2014-08-01 17:38:53 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Use llvm::makeArrayRef instead of explicitly calling ArrayRef constructor and mentioning the type. This works now that we have a conversion from ArrayRef<T*> to ArrayRef<const T*>. 2014-08-30 16:55:39 +00:00
driver Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00
libclang [libclang] Make sure to visit the body of a CXXForRangeStmt. 2014-11-13 09:50:19 +00:00
scan-build [analyzer] Perl scripts are run differently from makefiles. Sometimes additional utilities are involved, e.g. 'env' utility that present in MSYS but is missing in MinGW. The patch unifies launch of "c++-analyzer" and "ccc-analyzer". 2014-10-15 17:13:02 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00