diff options
author | Alex Lorenz <arphaman@gmail.com> | 2019-06-10 23:32:42 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2019-06-10 23:32:42 +0000 |
commit | 88377d8db79c46658f41dbf2503225265036444e (patch) | |
tree | c5e5c814e78bd99884ff15c6370e1c2597ec0e24 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 60e52cab86bee81d17a3279b83b8f645dfd8d1a4 (diff) | |
download | llvm-88377d8db79c46658f41dbf2503225265036444e.zip llvm-88377d8db79c46658f41dbf2503225265036444e.tar.gz llvm-88377d8db79c46658f41dbf2503225265036444e.tar.bz2 |
[Frontend] SetUpDiagnosticLog should handle unowned diagnostic consumer
in the compiler
The function SetUpDiagnosticLog that was called from createDiagnostics didn't
handle the case where the diagnostics engine didn't own the diagnostics consumer.
This is a potential problem for a clang tool, in particular some of the follow-up
patches for clang-scan-deps will need this fix.
Differential Revision: https://reviews.llvm.org/D63101
llvm-svn: 363009
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions