Remark was added to clang tooling Diagnostic
authorIvan Murashko <ivan.murashko@gmail.com>
Mon, 24 May 2021 15:21:44 +0000 (11:21 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 24 May 2021 15:21:44 +0000 (11:21 -0400)
commit7f2f0247f855b143c12cd33d1f53d14bc63f3e82
tree8784fc67c468eaa6813e80c1a167ecd329ecac20
parentdcaca7206e363eea936b789b501de084dee82e4b
Remark was added to clang tooling Diagnostic

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.
clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/remarks/A.h [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/infrastructure/Inputs/remarks/module.modulemap [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/infrastructure/remarks.cpp [new file with mode: 0644]
clang/include/clang/Tooling/Core/Diagnostic.h
clang/include/clang/Tooling/DiagnosticsYaml.h
clang/unittests/Tooling/DiagnosticsYamlTest.cpp