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] Incorrect space for "delete[] *x" #57418
Comments
@llvm/issue-subscribers-clang-format |
Revision: https://reviews.llvm.org/D132911 |
@llvm/issue-subscribers-clang-format |
@jackhong12
Perhaps the pointer here should be annotated as |
@zzyyyl Thanks for reminding me! You are right. The I think the configuration, |
`RequiresExpressionIndentation` is added to keep compatiblity, it is new in clang-format 16: https://clang.llvm.org/docs/ClangFormatStyleOptions.html#requiresexpressionindentation There is a change with `delete[]` operator, this is a bugfix: llvm/llvm-project#57418 The last change is a regression tracked here: llvm/llvm-project#62356
There is a change with `delete[]` operator, this is a bugfix: llvm/llvm-project#57418 Another change with one line function is a regression tracked here: llvm/llvm-project#62356 The last change is a new behavior.
There is a change with `delete[]` operator, this is a bugfix: llvm/llvm-project#57418 Another change with one line function is a regression tracked here: llvm/llvm-project#62356 The last change is a new behavior.
Versions: 14 and main
Input
Output
Expect
same as input
The text was updated successfully, but these errors were encountered: