[clang] [Clang] Supports dollars in UDLs and pp-numbers (PR #208490)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 10 05:22:45 PDT 2026
================
@@ -2144,6 +2144,7 @@ bool Lexer::LexNumericConstant(Token &Result, const char *CurPtr) {
// If we have a digit separator, continue.
if (C == '\'' && LangOpts.AllowLiteralDigitSeparator) {
auto [Next, NextSize] = getCharAndSizeNoWarn(CurPtr + Size, LangOpts);
+ // digit or non-digit
----------------
AaronBallman wrote:
```suggestion
// Digit or non-digit.
```
https://github.com/llvm/llvm-project/pull/208490
More information about the cfe-commits
mailing list