Go to file
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
clang Make DiagnosticsEngine::takeClient return std::unique_ptr<> 2014-11-17 23:46:02 +00:00
clang-tools-extra [clang-tidy] Move the missing namespace comment warnings to the closing brace 2014-11-17 17:32:32 +00:00
compiler-rt Revert r222091 because it caused a buildbot failure. 2014-11-16 09:44:37 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Prune CRLF. 2014-10-27 12:37:26 +00:00
libcxx Fix the tests I broke with the last commit. Sorry for the noise 2014-11-17 19:16:57 +00:00
libcxxabi Add -g -fno-omit-frame-pointer when compiling tests with sanitizers 2014-11-14 22:27:43 +00:00
lld [PECOFF] Fix 32-bit delay-import table. 2014-11-17 02:04:54 +00:00
lldb Fix a problem where the StringPrinter could be mistaking an empty string for a read error, and reporting spurious 'unable to read data' messages. rdar://19007243 2014-11-17 23:14:11 +00:00
llvm IR: Simplify uniquing for MDNode 2014-11-17 23:28:21 +00:00
openmp I apologise in advance for the size of this check-in. At Intel we do 2014-10-07 16:25:50 +00:00
polly Enable SCEV based code generation by default 2014-11-16 22:50:23 +00:00