Created
February 9, 2017 19:55
-
-
Save shattered/5ce9af8ad3bcaabf88aef569ef36ab43 to your computer and use it in GitHub Desktop.
first cut of clang-format configuration for MAMEDEV (http://wiki.mamedev.org/index.php/MAME_Coding_Conventions)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AccessModifierOffset: -4 | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortFunctionsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakBeforeMultilineStrings: false | |
AlwaysBreakTemplateDeclarations: false | |
BinPackParameters: false | |
BreakBeforeBinaryOperators: false | |
BreakBeforeBraces: Allman | |
BreakBeforeTernaryOperators: false | |
BreakConstructorInitializersBeforeComma: true | |
ColumnLimit: 100 | |
CommentPragmas: '' | |
ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
ConstructorInitializerIndentWidth: 4 | |
ContinuationIndentWidth: 0 | |
Cpp11BracedListStyle: false | |
DerivePointerBinding: false | |
IndentCaseLabels: false | |
IndentFunctionDeclarationAfterType: false | |
IndentWidth: 4 | |
Language: Cpp | |
MaxEmptyLinesToKeep: 2 | |
NamespaceIndentation: None | |
ObjCSpaceAfterProperty: true | |
ObjCSpaceBeforeProtocolList: true | |
PenaltyBreakBeforeFirstCallParameter: 100 | |
PenaltyBreakComment: 100 | |
PenaltyBreakFirstLessLess: 0 | |
PenaltyBreakString: 100 | |
PenaltyExcessCharacter: 1 | |
PenaltyReturnTypeOnItsOwnLine: 20 | |
SpaceBeforeAssignmentOperators: true | |
SpaceBeforeParens: ControlStatements | |
SpaceInEmptyParentheses: false | |
SpacesBeforeTrailingComments: 1 | |
SpacesInAngles: false | |
SpacesInCStyleCastParentheses: false | |
SpacesInContainerLiterals: false | |
SpacesInParentheses: false | |
Standard: Cpp11 | |
TabWidth: 4 | |
UseTab: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment