File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ # This isn't enabled because clangformat messes things up pretty badly
2+ # in cases where readability is better without a bulldozer (like alignment
3+ # of math equations and tables), but it's here for reference of what the
4+ # standard layout would be.
5+ #
16# Run manually to reformat a file:
27#
3- # LLVM14.0.0RC1\bin\clang-format.exe -i -style=file:clang-format.txt <file>
8+ # LLVM14.0.0RC1\bin\clang-format.exe -i -style=file:clang-format.txt yourfile.cpp
49#
510# To reformat all files using cmd.exe:
611# for /r %t in (*.cc *.h) do clang-format.exe -i -style=file "%t"
712#
8-
9- #DisableFormat: true
10- ---
13+ DisableFormat: true
1114BasedOnStyle: Microsoft
15+
1216---
1317Language: Cpp
1418AlignAfterOpenBracket: BlockIndent
@@ -30,11 +34,12 @@ AllowShortLambdasOnASingleLine: true
3034AllowShortFunctionsOnASingleLine: true
3135AllowShortCaseLabelsOnASingleLine: true
3236ConstructorInitializerAllOnOneLineOrOnePerLine: true
33- BreakBeforeBraces: AllMan #Custom
37+ BreakBeforeBraces: Allman #Custom
3438BraceWrapping:
3539 BeforeLambdaBody: true
3640AccessModifierOffset: -4
3741IndentAccessModifiers: false
42+
3843---
3944Language: JavaScript
4045AlignAfterOpenBracket: AlwaysBreak
You can’t perform that action at this time.
0 commit comments