Closed JVApen closed 1 year ago
Going through the other files that failed, this also occurs on non-templates.
The issue seems to be with a templated class being used in the init list. (the : Class<TemplateValue>{constructorArguments}
part)
@llvm/issue-subscribers-clang-format
@EugeneZelenko : Can this also be added to the list for the 17.0.X release?
@JVApen: Sure, it's possible to add, but will be good idea to check with developers if they are willing to fix problem soon.
@EugeneZelenko I understand your concern. Though this bug implies that we cannot use clang-format 17 at all. There are too many files impacted by this to even try to work around it. Who do I contact to check on it?
@owenca, @rymiel: Please take a look.
This is a duplicate of #64134. I've just requested to cherry-pick the fix.
Formatting the init list of a constructor is no longer correct. It looks like it is formatting the argument as the constructor body instead.
Formatting in LLVM16 (Correct):
Formatting in LLVM17-RC2:
.clang-format