| Issue |
109146
|
| Summary |
[clang-format] `(*)` is not annotated as `FunctionTypeLParen`
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
prj-
|
Works OK with version 19.1.0, but with `Debian clang-format version 20.0.0 (++20240917111146+1e23a6142a82-1~exp1~20240917111312.2342)`, I get:
```c
$ clang-format foobar.c
int main() {
if (type == NON_UNIFORM)
return (PetscErrorCode(*)(void *, void *, PetscInt,
...))&PCTFS_rvec_non_uniform;
return 0;
}
$ clang-format-20 foobar.c
int main() {
if (type == NON_UNIFORM)
return (PetscErrorCode(*)(void *, void *, PetscInt, ...)) &
PCTFS_rvec_non_uniform;
return 0;
}
```
It was OK with `20240831100704%2B8aa8c0590c09-1~exp1~20240831220720.2307`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs