|
| 1 | +# ETロボコン用C++コーディング規約 |
| 2 | + |
| 3 | +Language: Cpp |
| 4 | +AccessModifierOffset: -1 |
| 5 | +AlignAfterOpenBracket: Align |
| 6 | +AlignConsecutiveAssignments: false |
| 7 | +AlignConsecutiveDeclarations: false |
| 8 | +AlignEscapedNewlinesLeft: true |
| 9 | +AlignOperands: true |
| 10 | +AlignTrailingComments: true |
| 11 | +AllowAllParametersOfDeclarationOnNextLine: false |
| 12 | +AllowShortBlocksOnASingleLine: false |
| 13 | +AllowShortCaseLabelsOnASingleLine: false |
| 14 | +AllowShortFunctionsOnASingleLine: Inline |
| 15 | +AllowShortIfStatementsOnASingleLine: true |
| 16 | +AllowShortLoopsOnASingleLine: true |
| 17 | +AlwaysBreakAfterReturnType: None |
| 18 | +AlwaysBreakBeforeMultilineStrings: false |
| 19 | +AlwaysBreakTemplateDeclarations: true |
| 20 | +BinPackArguments: true |
| 21 | +BinPackParameters: true |
| 22 | +BraceWrapping: |
| 23 | + AfterClass: false |
| 24 | + AfterControlStatement: false |
| 25 | + AfterEnum: false |
| 26 | + AfterFunction: true |
| 27 | + AfterNamespace: false |
| 28 | + AfterObjCDeclaration: false |
| 29 | + AfterStruct: false |
| 30 | + AfterUnion: false |
| 31 | + BeforeCatch: false |
| 32 | + BeforeElse: false |
| 33 | + IndentBraces: false |
| 34 | +BreakBeforeBinaryOperators: All |
| 35 | +BreakBeforeBraces: Custom |
| 36 | +BreakBeforeTernaryOperators: true |
| 37 | +BreakConstructorInitializersBeforeComma: false |
| 38 | +BreakAfterJavaFieldAnnotations: false |
| 39 | +BreakStringLiterals: true |
| 40 | +ColumnLimit: 100 |
| 41 | +CommentPragmas: '\*' |
| 42 | +ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 43 | +ConstructorInitializerIndentWidth: 2 |
| 44 | +ContinuationIndentWidth: 4 |
| 45 | +Cpp11BracedListStyle: false |
| 46 | +DerivePointerAlignment: false |
| 47 | +DisableFormat: false |
| 48 | +IndentCaseLabels: true |
| 49 | +IndentWidth: 2 |
| 50 | +IndentWrappedFunctionNames: false |
| 51 | +KeepEmptyLinesAtTheStartOfBlocks: false |
| 52 | +MaxEmptyLinesToKeep: 1 |
| 53 | +NamespaceIndentation: All |
| 54 | +PenaltyBreakComment: 300 |
| 55 | +PenaltyBreakFirstLessLess: 120 |
| 56 | +PenaltyBreakString: 1000 |
| 57 | +PenaltyExcessCharacter: 1000000 |
| 58 | +PenaltyReturnTypeOnItsOwnLine: 200 |
| 59 | +PointerAlignment: Left |
| 60 | +ReflowComments: true |
| 61 | +SortIncludes: false |
| 62 | +SpaceAfterCStyleCast: false |
| 63 | +SpaceBeforeAssignmentOperators: true |
| 64 | +SpaceBeforeParens: Never |
| 65 | +SpaceInEmptyParentheses: false |
| 66 | +SpacesBeforeTrailingComments: 2 |
| 67 | +SpacesInAngles: false |
| 68 | +SpacesInCStyleCastParentheses: false |
| 69 | +SpacesInParentheses: false |
| 70 | +SpacesInSquareBrackets: false |
| 71 | +Standard: Cpp11 |
| 72 | +TabWidth: 4 |
| 73 | +UseTab: Never |
0 commit comments