[PATCH] Add the check name to the clang-tidy diagnostic output.

Alexander Kornienko alexfh at google.com
Fri Jan 10 09:41:52 PST 2014


Hi djasper, klimek,

Pass check names all the way from ClangTidyModule through
ClangTidyCheck and ClangTidyContext to ClangTidyError, and output it in
handleErrors. This allows to find mis-behaving check and disable it easily.

http://llvm-reviews.chandlerc.com/D2534

Files:
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidy.h
  clang-tidy/ClangTidyDiagnosticConsumer.cpp
  clang-tidy/ClangTidyDiagnosticConsumer.h
  clang-tidy/ClangTidyModule.cpp
  clang-tidy/google/GoogleTidyModule.cpp
  clang-tidy/llvm/LLVMTidyModule.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2534.1.patch
Type: text/x-patch
Size: 10302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140110/8d974175/attachment.bin>


More information about the cfe-commits mailing list