[PATCH] Consistently handle clang-tidy check names in ClangTidyError.

Alexander Kornienko alexfh at google.com
Tue Jul 1 08:37:02 PDT 2014


Hi djasper,

This patch removes " [check-name]" from the end of
ClangTidyMessage::Message. The " [check-name]" part is only appended when
printing diagnostics on the console. Clang errors are now marked with
"clang-diagnostic-error" check name, remarks and unknown warnings are marked
with "clang-diagnostic-unknown".

http://reviews.llvm.org/D4356

Files:
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidyDiagnosticConsumer.cpp
  test/clang-tidy/diagnostic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4356.11000.patch
Type: text/x-patch
Size: 6910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140701/ab8f7a57/attachment.bin>


More information about the cfe-commits mailing list