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
I would like a feature for clang-format to handle breaking after attributes other than those applied to function definitions. Right now there is only BreakAfterAttributes, which does not cover all attributes.
Why is this important?
Right now there is no way to set the style and so clang-format will always delete the break after an attribute. For example
This is not the style I want. Additionally it causes clang-tidy to complain that the if is not aligned with the else with readability-misleading-indentation, so the formatting actively introduces a warning into my code even if it were the style I wanted.