================
@@ -410,7 +412,7 @@ class AnalyzerOptions {
             // an alias to the new verbose filename option because this
             // closely mimics the behavior under the old option.
             ShouldWriteStableReportFilename || 
ShouldWriteVerboseReportFilename,
-            AnalyzerWerror,
+            static_cast<bool>(AnalyzerWerror),
----------------
ojhunt wrote:

This cast is needed before clang20 as we generate a warning about narrowing 
AnalyzerWerror from an int1 to a bool :D

https://github.com/llvm/llvm-project/pull/139825
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to