[ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from.
authorHaojian Wu <hokein@google.com>
Wed, 27 Apr 2016 09:15:01 +0000 (09:15 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 27 Apr 2016 09:15:01 +0000 (09:15 +0000)
commit12e6b8f92963b2a49c913d24fff0d75b03679b19
treed135c4b58d02483a695f0d2c20d5fd14642aedc6
parenta785640e83cefcbbcbdfc71a1425f3830d404fa6
[ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from.

Reviewers: alexfh

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D18694

llvm-svn: 267683
clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
clang-tools-extra/clang-tidy/ClangTidyOptions.h
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/test/clang-tidy/Inputs/explain-config/.clang-tidy [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/explain-checks.cpp [new file with mode: 0644]