[clang] [C2y] Handle FP-suffixes on prefixed octals (#141230) (PR #141695)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed May 28 08:46:52 PDT 2025
================
@@ -1432,14 +1432,26 @@ void NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) {
Diags.Report(TokLoc, DiagId);
++s;
DigitsBegin = s;
- SawOctalPrefix = true;
+ radix = 8;
----------------
AaronBallman wrote:
Oh, you're right, I missed the unconditional return!
https://github.com/llvm/llvm-project/pull/141695
More information about the cfe-commits
mailing list