Relative Content

Tag Archive for c++formatclang-format

Clang – Allman not adding a line break

I have this C code and I’m using Clang in Visual Studio Code to auto-format when I save the file. I would like to add line breaks after my statements as seen below. I have included both C examples of what I am trying to achieve plus my Clang formatting.