Open btowntkd opened 1 year ago
@llvm/issue-subscribers-clang-format
I get:
auto test = TheThing{
Arg1{ blorp, bleep, bloop, blop, blip },
Arg2{ blorp, bleep, bloop, blop, blop, blip }
};
with clang-format version 16.0.0
using your example code and format file.
I am using Clang-Format and I have a particular block of code with nested braced initializers. I would like the code to look like this:
Note the desired behavior:
But Clang-Format keeps reformatting it thusly:
Note the undesired behavior:
This is the Clang-Format settings I currently use:
I placed the settings that seem like they should be the most relevant in this case at the bottom.
Is there a setting I'm missing?
I am using the version of Clang-Format currently included with Visual Studio 2022 - version 13.0.1.