-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[clang-format] bug in c formatting when "switch" appears as a token #114408
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
Labels
Milestone
Comments
owenca
added a commit
to owenca/llvm-project
that referenced
this issue
Nov 1, 2024
/cherry-pick 6ca816f |
/pull-request #114640 |
smallp-o-p
pushed a commit
to smallp-o-p/llvm-project
that referenced
this issue
Nov 3, 2024
NoumanAmir657
pushed a commit
to NoumanAmir657/llvm-project
that referenced
this issue
Nov 4, 2024
tru
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Nov 12, 2024
…vm#114506) Fixes llvm#114408. (cherry picked from commit 6ca816f)
tru
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Nov 15, 2024
…vm#114506) Fixes llvm#114408. (cherry picked from commit 6ca816f)
nikic
pushed a commit
to rust-lang/llvm-project
that referenced
this issue
Nov 20, 2024
…vm#114506) Fixes llvm#114408. (cherry picked from commit 6ca816f)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This is a c file that is correctly formatted according to clang-format 18, but not according to clang-format 19
clang-format --dry-run --Werror --style="{BasedOnStyle: llvm, BreakBeforeBraces: Linux}" test.c
I bisected it to 236b3e1 [clang-format] Handle Java switch expressions (#91112)
The text was updated successfully, but these errors were encountered: