Clang-format: Round braces in dedicated lines? (original) (raw)
February 16, 2024, 1:40pm 1
Is there any way in clang-format to get (or at least allow) that round braces go to their own lines?
contents_.append
(
autoPtr<DynamicList<label>>
(
new DynamicList<label>()
)
);
This originates from the OpenFOAM style guide, for which I am trying to (voluntarily) make a specification in this repository.
Related to Showcasing the strengths of clang-format to the OpenFOAM community