[PATCH] D102906: [clang-tidy] Remark was added to clang tooling Diagnostic
Ivan Murashko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 21 01:48:08 PDT 2021
ivanmurashko created this revision.
ivanmurashko added reviewers: aaron.ballman, alexfh, DmitryPolukhin, gribozavr2.
ivanmurashko added projects: clang, clang-tools-extra.
Herald added a subscriber: xazax.hun.
ivanmurashko requested review of this revision.
Herald added a subscriber: cfe-commits.
The diff adds `Remark` to `Diagnostic::Level` for clang tooling. That makes `Remark` diagnostic level ready to use in `clang-tidy` checks: the **clang-diagnostic-module-import** becomes visible as a part of the change
Test plan:
ninja check-clang
ninja check-clang-tools
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102906
Files:
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/remarks/A.h
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/remarks/module.modulemap
clang-tools-extra/test/clang-tidy/infrastructure/remarks.cpp
clang/include/clang/Tooling/Core/Diagnostic.h
clang/include/clang/Tooling/DiagnosticsYaml.h
clang/unittests/Tooling/DiagnosticsYamlTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102906.346955.patch
Type: text/x-patch
Size: 6970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210521/a976971b/attachment-0001.bin>
More information about the cfe-commits
mailing list