[clang] [clang-format] Add an option to format integer and float literal case (PR #151590)
Andy MacGregor via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 18 13:48:01 PDT 2025
================
@@ -77,7 +77,7 @@ static std::optional<std::string> formatIfNeeded(StringRef IntegerLiteral,
transformComponent(IntegerLiteral.take_front(1 + N.BaseLetterPos),
Style.NumericLiteralCase.Prefix);
}
- // reformat this slice as HexDigit whether or not the digit has hexadecimal
+ // Reformat this slice as HexDigit whether or not the digit has hexadecimal
// characters because binary/decimal/octal digits are unchanged
----------------
30Wedge wrote:
:facepalm: . Should be all set now.
https://github.com/llvm/llvm-project/pull/151590
More information about the cfe-commits
mailing list