Skip to content

Commit 868f0a9

Browse files
committed
Address erroneous warning in clang <= 19.0
1 parent 3a2b2f2 commit 868f0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class AnalyzerOptions {
412412
// an alias to the new verbose filename option because this
413413
// closely mimics the behavior under the old option.
414414
ShouldWriteStableReportFilename || ShouldWriteVerboseReportFilename,
415-
AnalyzerWerror,
415+
static_cast<bool>(AnalyzerWerror),
416416
ShouldApplyFixIts,
417417
ShouldDisplayCheckerNameForText};
418418
}

0 commit comments

Comments
 (0)