[PATCH] D38171: Implement clang-tidy check aliases.
AndrĂ¡s Leitereg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 22 03:57:52 PDT 2017
leanil created this revision.
Herald added a subscriber: JDevlieghere.
Clang warnings can be mapped to virtual check names as aliases. The mappings can be set in the appropriate ClangTidyModules. If the virtual check is enabled, then
- the corresponding warning options get passed to clang, and
- the warning names are replaced with the check alias in the produced messages.
This is an implementation of the proposal here <http://clang-developers.42468.n3.nabble.com/RFC-clang-tidy-Register-warnings-as-check-aliases-td4053573.html>.
https://reviews.llvm.org/D38171
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tidy/ClangTidyDiagnosticConsumer.h
clang-tidy/ClangTidyModule.h
clang-tidy/cert/CERTTidyModule.cpp
test/clang-tidy/warning-check-aliases.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38171.116324.patch
Type: text/x-patch
Size: 5576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170922/84d8edcb/attachment.bin>
More information about the cfe-commits
mailing list