| Issue |
162623
|
| Summary |
[clangd] Messed formatting when using some lexical keywords
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
miEsMar
|
It seems that `clangd` formatting style is messed up in `struct`s definition (I do not know if this is reflected somewhere else) if fields are named with lexical keywords.
See images below:
<img width="646" height="186" alt="Image" src="" />
<img width="646" height="186" alt="Image" src="" />
<img width="646" height="186" alt="Image" src="" />
The thing is that `new/delete` are not C keywords, yet recognised as such, messing the formatting.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs