| Issue | 56430 |
|---|---|
| Summary | clang-format does not handle extern "C" block well |
| Labels | new issue |
| Assignees | |
| Reporter | lzgrablic02 |
E.g. for
```
extern “C” {
int a;
}
```
it gives
```
extern “C” {
int a;
}
```
instead of
```
extern “C” {
int a;
} // extern "C"
```
And it accepts
```
extern “C” {
int a;
} // whatever
```
instead of giving the previous.
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
