================
@@ -276,11 +276,11 @@ void SarifDocumentWriter::endRun() {
         {"enabled", R.DefaultConfiguration.Enabled},
         {"level", resultLevelToStr(R.DefaultConfiguration.Level)},
         {"rank", R.DefaultConfiguration.Rank}};
-    json::Object Rule{
-        {"name", R.Name},
-        {"id", R.Id},
-        {"fullDescription", json::Object{{"text", R.Description}}},
-        {"defaultConfiguration", std::move(Config)}};
+    json::Object Rule{{"name", R.Name},
+                      {"id", R.Id},
+                      {"defaultConfiguration", std::move(Config)}};
+    if (!(Tool.getObject("driver")->getString("fullName") == "clang-tidy"))
----------------
BaLiKfromUA wrote:

Similar comment about hardcoding "clang-tidy" here.

https://github.com/llvm/llvm-project/pull/219182
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to