]> granicus.if.org Git - clang/commit
When compiling a module on-demand, re-use the diagnostics client
authorDouglas Gregor <dgregor@apple.com>
Tue, 13 Sep 2011 01:26:44 +0000 (01:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 13 Sep 2011 01:26:44 +0000 (01:26 +0000)
commit78243658c533168d51fd076fba328437932ba6f1
tree5ac50b68c9aacb2e986d1a4afecfcdbab1d1f931
parent21cae2059a06f7d89eee169409c9266def1b1aca
When compiling a module on-demand, re-use the diagnostics client
already provided. This required a little bit of clean-up in the way
that VerifyDiagnosticsClient managed ownership of its underlying
"primary" client, because now it will no longer always take ownership.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139570 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
include/clang/Frontend/CompilerInstance.h
include/clang/Frontend/VerifyDiagnosticsClient.h
lib/Frontend/CompilerInstance.cpp
lib/Frontend/VerifyDiagnosticsClient.cpp
tools/arcmt-test/arcmt-test.cpp