From 9ddb4b20112c9045f7171c32dec0e1a4bd1c831e Mon Sep 17 00:00:00 2001 From: JJones780 Date: Wed, 19 Jun 2019 16:44:23 -0600 Subject: [PATCH] Standard: Cpp11 from Cpp03, Got rid of 3.3 vs 3.4 comments --- .clang-format | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.clang-format b/.clang-format index 7f2bd1ce..c6faa0a4 100644 --- a/.clang-format +++ b/.clang-format @@ -4,18 +4,18 @@ AccessModifierOffset: -4 AlignEscapedNewlinesLeft: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: false -AllowShortBlocksOnASingleLine: false # not in 3.4 -AllowShortCaseLabelsOnASingleLine: false # not in 3.4, 3.5 -AllowShortFunctionsOnASingleLine: None # not in 3.4 +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: None AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: false -AlwaysBreakAfterDefinitionReturnType: false # not in 3.4, 3.5 +AlwaysBreakAfterDefinitionReturnType: false AlwaysBreakBeforeMultilineStrings: true AlwaysBreakTemplateDeclarations: true -BinPackArguments: false # not in 3.4, 3.5 +BinPackArguments: false BinPackParameters: true -BreakBeforeBinaryOperators: NonAssignment # not in 3.4 # true in 3.5 +BreakBeforeBinaryOperators: NonAssignment BreakBeforeBraces: Allman BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: true @@ -25,37 +25,37 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 16 -DerivePointerAlignment: false # not in 3.4 +DerivePointerAlignment: false ExperimentalAutoDetectBinPacking: false IndentCaseLabels: false IndentWidth: 4 -IndentWrappedFunctionNames: false # not in 3.4 +IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true # not in 3.4 +KeepEmptyLinesAtTheStartOfBlocks: true -Language: Cpp # not in 3.4 +Language: Cpp MaxEmptyLinesToKeep: 2 NamespaceIndentation: None PenaltyReturnTypeOnItsOwnLine: 10000 -PointerAlignment: Left # not in 3.4 -# PointerBindsToType: true # 3.4 +PointerAlignment: Left +# PointerBindsToType: true SortIncludes: false -SpaceAfterCStyleCast: true # not in 3.4, 3.5 +SpaceAfterCStyleCast: true SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements # not in 3.4 +SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 2 SpacesInAngles: false SpacesInCStyleCastParentheses: false SpacesInParentheses: false -SpacesInSquareBrackets: false # not in 3.4, 3.5 -Standard: Cpp03 +SpacesInSquareBrackets: false +Standard: Cpp11 TabWidth: 4