| Issue |
168879
|
| Summary |
[clang-format] macro with code block starting on the define
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
gresm
|
It seems to be impossible (please correct me) to make ``clang-format`` format a macro definition like this:
```c
#define macro { \
int body = 0; \
}
```
No matter what I try, it moves the opening bracket to a new line:
```c
#define macro \
{ \
int body = 0; \
}
```
(One of the variations)
Probably related: https://github.com/llvm/llvm-project/issues/53180
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs