mercredi 26 août 2020

clang-format: How to prevent space before {}?

I'd like to make auto foo = Foo {}; become auto foo = Foo{};.

What would be the correct property?

My style works when applied from CLI, but this is the only thing that Qt Creator ruins when I save my edited file.

Aucun commentaire:

Enregistrer un commentaire