diff options
author | Daniel Jasper <djasper@google.com> | 2015-08-12 13:16:41 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-08-12 13:16:41 +0000 |
commit | 4d871f99c796c0cf26f68380fe97c6e13b249607 (patch) | |
tree | 06aad325064564cdc180786e898c880b72233cfb /clang/lib/Basic/Targets.cpp | |
parent | 366783e14c4c757102715bf8113ebf6696859f6c (diff) | |
download | bcm5719-llvm-4d871f99c796c0cf26f68380fe97c6e13b249607.tar.gz bcm5719-llvm-4d871f99c796c0cf26f68380fe97c6e13b249607.zip |
Lazily initialize HeaderFilter in ClangTidyDiagnosticConsumer. This
removes a corner case in tests that don't set the diagnostic consumer.
In tests, it is good, not to set the diagnostic consumer so that Clang's
parsing diagnostics are still displayed in the test output and only
ClangTidy's output is analyzed differently.
llvm-svn: 244745
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions