================ @@ -1453,6 +1454,8 @@ void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) { // anything, we leave the digit start where it was. if (s != PossibleNewDigitStart) DigitsBegin = PossibleNewDigitStart; + else + IsNakedZero = s == ThisTokEnd; // Is the only thing we've seen a 0? ---------------- erichkeane wrote:
```suggestion IsNakedZero = (s == ThisTokEnd); // Is the only thing we've seen a 0? ``` https://github.com/llvm/llvm-project/pull/137844 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits