[clang-format] Forced line-break in pre-processor statements #123382
Labels
clang-format
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Lets assume we have this PP directive:
It would be nice to configure clang-format in a way that I would format this like:
The advantage of this would be that when SCM is used and lines would be added or removed, less or at least easier conflicts would occur.
In a large code base with a lot of feature switches, this would be very helpful.
I have checked the code if I could file a PR myself, but tbh I didn't find a place to start.
The text was updated successfully, but these errors were encountered: