diff options
| author | Alexander Kornienko <alexfh@google.com> | 2014-02-06 14:50:10 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2014-02-06 14:50:10 +0000 |
| commit | 54461eb38953d17a9a9b7aeff90ef59f65884a86 (patch) | |
| tree | a3c49733969fb65db94b9b7cb5f37517f97d94da /compiler-rt | |
| parent | 1a0aadcd775ee467bd9d39f7ba42ac3849f60a59 (diff) | |
| download | bcm5719-llvm-54461eb38953d17a9a9b7aeff90ef59f65884a86.tar.gz bcm5719-llvm-54461eb38953d17a9a9b7aeff90ef59f65884a86.zip | |
Improve clang-tidy diagnostic output and filtering.
Summary:
This patch introduces several improvements to clang-tidy diagnostic;
1. Make filtering of messages from non-user code more reliable. Output an
error when it or any of the related notes touches user code. This fixes an
assertion when an error has a location in a system header, and one of the
notes relates to user code.
2. In order for 1. to work, subscribe to the static analyzer diagnostics using
a custom PathDiagnosticConsumer.
3. Enable colors on supported terminals.
4. Output FixItHints.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2714
llvm-svn: 200924
Diffstat (limited to 'compiler-rt')
0 files changed, 0 insertions, 0 deletions

