You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl-photography
changed the title
Forced line-break in pre-processor statements
[clang-format] Forced line-break in pre-processor statements
Jan 17, 2025
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: