1# http://clang.llvm.org/docs/ClangFormatStyleOptions.html 2 3BasedOnStyle: LLVM 4 5IndentWidth: 4 6TabWidth: 4 7UseTab: ForIndentation 8ColumnLimit: 80 9 10Language: Cpp 11 12AlignAfterOpenBracket: true 13AllowAllParametersOfDeclarationOnNextLine: false 14AllowShortBlocksOnASingleLine: false 15AllowShortCaseLabelsOnASingleLine: false 16AllowShortFunctionsOnASingleLine: None 17AllowShortIfStatementsOnASingleLine: false 18AllowShortLoopsOnASingleLine: false 19AlwaysBreakAfterDefinitionReturnType: true 20BinPackArguments: false 21BinPackParameters: false 22BreakBeforeBinaryOperators: NonAssignment 23BreakBeforeBraces: Linux 24DerivePointerAlignment: false 25MaxEmptyLinesToKeep: 2 26PenaltyBreakBeforeFirstCallParameter: 100 27ReflowComments: true 28 29SpaceBeforeParens: ControlStatements 30SpaceInEmptyParentheses: false 31SpacesInSquareBrackets: false 32 33IndentPPDirectives: None 34IncludeBlocks: Preserve 35 36 37DisableFormat: false 38