New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-format: IntegerLiteralSeparator formatted incorrectly with s
literal suffix
#62679
Closed
vogelsgesang opened this issue
May 12, 2023
· 6 comments
· Fixed by llvm/llvm-project-release-prs#448
Closed
clang-format: IntegerLiteralSeparator formatted incorrectly with s
literal suffix
#62679
vogelsgesang opened this issue
May 12, 2023
· 6 comments
· Fixed by llvm/llvm-project-release-prs#448
Comments
@llvm/issue-subscribers-clang-format |
this looks very similar to #61676, but it seems the fix did not cover this case here |
vogelsgesang
changed the title
IntegerLiteralSeparator not correct with
clang-format: IntegerLiteralSeparator formatted incorrectly with May 12, 2023
s
literal suffixs
literal suffix
/cherry-pick a72b064 |
/branch llvm/llvm-project-release-prs/issue62679 |
/pull-request llvm/llvm-project-release-prs#448 |
tstellar
pushed a commit
that referenced
this issue
May 30, 2023
Fixes #62679. Differential Revision: https://reviews.llvm.org/D150539 (cherry picked from commit a72b064)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WIth the configuration
Clang-Format 16.0.3 proposes the following change:
There are two issues:
s
suffix as a digit, and hence place the tick in the wrong placeDecimalMinDigits
The text was updated successfully, but these errors were encountered: