gmod-lcpu/.clang-format

46 lines
1003 B
Plaintext
Raw Normal View History

# .clang-format for native code portion
2023-07-16 01:58:32 -04:00
BasedOnStyle: Google
# force T* or T&
DerivePointerAlignment: false
PointerAlignment: Left
TabWidth: 4
IndentWidth: 4
UseTab: Always
IndentPPDirectives: BeforeHash
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
2023-07-17 16:27:27 -04:00
AllowShortFunctionsOnASingleLine: InlineOnly
2023-07-16 01:58:32 -04:00
AllowShortIfStatementsOnASingleLine: Never
2023-07-17 16:27:27 -04:00
AllowShortLoopsOnASingleLine: false
2023-07-16 01:58:32 -04:00
BinPackArguments: true
BinPackParameters: true
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: false
2023-07-23 18:13:03 -04:00
ColumnLimit: 150
2023-07-16 01:58:32 -04:00
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ContinuationIndentWidth: 0
# turning this on causes major issues with initalizer lists
Cpp11BracedListStyle: false
SpaceBeforeCpp11BracedList: true
FixNamespaceComments: true
NamespaceIndentation: All
ReflowComments: true
SortIncludes: CaseInsensitive
SortUsingDeclarations: true
SpacesInSquareBrackets: false
SpaceBeforeParens: Never
SpacesBeforeTrailingComments: 1