Zopolis4
0dfd9d4b43
Replace Cpp11 (A Deprecated alias for Latest) in .clang-format
2022-06-22 08:57:32 +10:00
Léo Lam
4cc2d97294
Require clang-format 9 and reformat source code
...
This updates the lint script to require clang-format 9 and reformats
existing source code. Since VS2019 ships with clang-format 9 this
should make auto reformats less painful.
This also updates the clang-format configuration to set
BraceWrapping.AfterCaseLabel to true to ensure consistent brace
style; otherwise clang-format 9+ defaults to putting braces on
the same line as switch case labels.
2020-01-08 22:18:15 +01:00
booto
c5a9a77684
clang-format: revert 'AfterCaseLabel' setting
2019-05-23 00:42:42 -04:00
Techjar
2e602344ea
Add BraceWrapping/AfterCaseLabel to .clang-format
2019-05-22 01:51:11 -04:00
Stenzek
06476594bf
clang-format: Split C++/ObjC sections
...
Fixes the lint error that an objective-C section is missing from the config when a .mm file is modified.
2018-10-06 11:30:45 +10:00
spycrab
40bb9974f2
Reformat all the things!
2018-04-12 21:28:39 +02:00
Michael Maltese
f024fd48f9
clang-format: Sort windows.h before other headers
2017-01-23 00:35:09 -08:00
BhaaL
23d99f2f2c
specify custom brace style to fix unions
...
BreakBeforeBraces: Allman apparently includes all styles,
except for AfterUnion (which is false) when using clang-format -dump-config
2017-01-05 12:55:13 +01:00
Pierre Bourdon
e901533298
Add new clang-format config.
2016-06-24 10:41:05 +02:00
LPFaint99
f227019483
UseTab: ForIndentation
2014-05-26 21:28:59 -07:00
LPFaint99
b88023c96e
initial clang format config.
2014-05-26 18:32:49 -07:00