[clang] [llvm] [NFC] Address bit-field storage sizes to ensure ideal packing (PR #139825)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 15:06:00 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list