clang-power-tools icon indicating copy to clipboard operation
clang-power-tools copied to clipboard

enum class failed break

Open muenraisi opened this issue 3 years ago • 1 comments

with setting BreakBeforeBraces: Attach enum class remain

enum class XXX { XXX XX; }

while enum or class is independly effectively

enum XXX { XXX XX; }

or

class XXX { XXX XX; }

muenraisi avatar Oct 07 '21 08:10 muenraisi

Hello @muenraisi,

Maybe you are having some extra flags that interfere.

I recommend you use the Clang-Format Editor > Format Configurator from the Format tab. This way you will see how each flag works in a more isolated environment.

Let me know if the issue persists.

hprica avatar Oct 07 '21 10:10 hprica

I will close this issue as we need more information

mariru27 avatar Jul 10 '23 09:07 mariru27