Lines Matching defs:FormatTest
30 class FormatTest : public ::testing::Test { class
120 TEST_F(FormatTest, MessUp) { in TEST_F() argument
128 TEST_F(FormatTest, DefaultLLVMStyleIsCpp) { in TEST_F() argument
132 TEST_F(FormatTest, LLVMStyleOverride) { in TEST_F() argument
141 TEST_F(FormatTest, DoesNotChangeCorrectlyFormattedCode) { in TEST_F() argument
145 TEST_F(FormatTest, FormatsGlobalStatementsAt0) { in TEST_F() argument
152 TEST_F(FormatTest, FormatsUnwrappedLinesAtFirstFormat) { in TEST_F() argument
156 TEST_F(FormatTest, FormatsNestedBlockStatements) { in TEST_F() argument
160 TEST_F(FormatTest, FormatsNestedCall) { in TEST_F() argument
166 TEST_F(FormatTest, NestedNameSpecifiers) { in TEST_F() argument
178 TEST_F(FormatTest, OnlyGeneratesNecessaryReplacements) { in TEST_F() argument
200 TEST_F(FormatTest, RemovesEmptyLines) { in TEST_F() argument
410 TEST_F(FormatTest, RecognizesBinaryOperatorKeywords) { in TEST_F() argument
421 TEST_F(FormatTest, RecognizesUnaryOperatorKeywords) { in TEST_F() argument
435 TEST_F(FormatTest, FormatIfWithoutCompoundStatement) { in TEST_F() argument
515 TEST_F(FormatTest, FormatIfWithoutCompoundStatementButElseWith) { in TEST_F() argument
550 TEST_F(FormatTest, FormatLoopsWithoutCompoundStatement) { in TEST_F() argument
597 TEST_F(FormatTest, FormatShortBracedStatements) { in TEST_F() argument
766 TEST_F(FormatTest, ShortBlocksInMacrosDontMergeWithCodeAfterMacro) { in TEST_F() argument
785 TEST_F(FormatTest, ParseIfElse) { in TEST_F() argument
842 TEST_F(FormatTest, ElseIf) { in TEST_F() argument
899 TEST_F(FormatTest, FormatsForLoop) { in TEST_F() argument
983 TEST_F(FormatTest, RangeBasedForLoops) { in TEST_F() argument
994 TEST_F(FormatTest, ForEachLoops) { in TEST_F() argument
1029 TEST_F(FormatTest, FormatsWhileLoop) { in TEST_F() argument
1039 TEST_F(FormatTest, FormatsDoWhile) { in TEST_F() argument
1048 TEST_F(FormatTest, FormatsSwitchStatement) { in TEST_F() argument
1333 TEST_F(FormatTest, CaseRanges) { in TEST_F() argument
1342 TEST_F(FormatTest, ShortEnums) { in TEST_F() argument
1356 TEST_F(FormatTest, ShortCaseLabels) { in TEST_F() argument
1529 TEST_F(FormatTest, FormatsLabels) { in TEST_F() argument
1576 TEST_F(FormatTest, MultiLineControlStatements) { in TEST_F() argument
1750 TEST_F(FormatTest, BeforeWhile) { in TEST_F() argument
1770 TEST_F(FormatTest, DoesNotBreakSemiAfterClassDecl) { in TEST_F() argument
1774 TEST_F(FormatTest, UnderstandsAccessSpecifiers) { in TEST_F() argument
1832 TEST_F(FormatTest, SeparatesLogicalBlocks) { in TEST_F() argument
1890 TEST_F(FormatTest, FormatsClasses) { in TEST_F() argument
1925 TEST_F(FormatTest, BreakInheritanceStyle) { in TEST_F() argument
1961 TEST_F(FormatTest, FormatsVariableDeclarationsAfterStructOrClass) { in TEST_F() argument
1967 TEST_F(FormatTest, FormatsEnum) { in TEST_F() argument
2054 TEST_F(FormatTest, FormatsEnumsWithErrors) { in TEST_F() argument
2068 TEST_F(FormatTest, FormatsEnumStruct) { in TEST_F() argument
2085 TEST_F(FormatTest, FormatsEnumClass) { in TEST_F() argument
2102 TEST_F(FormatTest, FormatsEnumTypes) { in TEST_F() argument
2111 TEST_F(FormatTest, FormatsTypedefEnum) { in TEST_F() argument
2137 TEST_F(FormatTest, FormatsNSEnums) { in TEST_F() argument
2179 TEST_F(FormatTest, FormatsBitfields) { in TEST_F() argument
2223 TEST_F(FormatTest, FormatsNamespaces) { in TEST_F() argument
2349 TEST_F(FormatTest, NamespaceMacros) { in TEST_F() argument
2456 TEST_F(FormatTest, FormatsCompactNamespaces) { in TEST_F() argument
2592 TEST_F(FormatTest, FormatsExternC) { in TEST_F() argument
2629 TEST_F(FormatTest, IndentExternBlockStyle) { in TEST_F() argument
2666 TEST_F(FormatTest, FormatsInlineASM) { in TEST_F() argument
2710 TEST_F(FormatTest, FormatTryCatch) { in TEST_F() argument
2735 TEST_F(FormatTest, FormatTryAsAVariable) { in TEST_F() argument
2784 TEST_F(FormatTest, FormatSEHTryCatch) { in TEST_F() argument
2804 TEST_F(FormatTest, IncompleteTryCatchBlocks) { in TEST_F() argument
2819 TEST_F(FormatTest, FormatTryCatchBraceStyles) { in TEST_F() argument
2894 TEST_F(FormatTest, StaticInitializers) { in TEST_F() argument
2921 TEST_F(FormatTest, DesignatedInitializers) { in TEST_F() argument
2951 TEST_F(FormatTest, NestedStaticInitializers) { in TEST_F() argument
3005 TEST_F(FormatTest, FormatsSmallMacroDefinitionsInSingleLine) { in TEST_F() argument
3011 TEST_F(FormatTest, DoesNotBreakPureVirtualFunctionDefinition) { in TEST_F() argument
3024 TEST_F(FormatTest, BreaksStringLiteralsOnlyInDefine) { in TEST_F() argument
3036 TEST_F(FormatTest, UnderstandsLinePPDirective) { in TEST_F() argument
3041 TEST_F(FormatTest, LayoutUnknownPPDirective) { in TEST_F() argument
3046 TEST_F(FormatTest, UnescapedEndOfLineEndsPPDirective) { in TEST_F() argument
3053 TEST_F(FormatTest, EndOfFileEndsPPDirective) { in TEST_F() argument
3059 TEST_F(FormatTest, DoesntRemoveUnknownTokens) { in TEST_F() argument
3077 TEST_F(FormatTest, IndentsPPDirectiveInReducedSpace) { in TEST_F() argument
3091 TEST_F(FormatTest, HandlePreprocessorDirectiveContext) { in TEST_F() argument
3107 TEST_F(FormatTest, LayoutSingleHash) { EXPECT_EQ("#\na;", format("#\na;")); } in TEST_F() argument
3109 TEST_F(FormatTest, LayoutCodeInMacroDefinitions) { in TEST_F() argument
3119 TEST_F(FormatTest, LayoutRemainingTokens) { EXPECT_EQ("{}", format("{}")); } in TEST_F() argument
3121 TEST_F(FormatTest, MacroDefinitionInsideStatement) { in TEST_F() argument
3128 TEST_F(FormatTest, HashInMacroDefinition) { in TEST_F() argument
3148 TEST_F(FormatTest, RespectWhitespaceInMacroDefinitions) { in TEST_F() argument
3159 TEST_F(FormatTest, EmptyLinesInMacroDefinitions) { in TEST_F() argument
3184 TEST_F(FormatTest, MacroDefinitionsWithIncompleteCode) { in TEST_F() argument
3223 TEST_F(FormatTest, MacrosWithoutTrailingSemicolon) { in TEST_F() argument
3275 TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) { in TEST_F() argument
3468 TEST_F(FormatTest, LayoutMacroDefinitionsStatementsSpanningBlocks) { in TEST_F() argument
3476 TEST_F(FormatTest, IndentPreprocessorDirectives) { in TEST_F() argument
3847 TEST_F(FormatTest, FormatHashIfNotAtStartOfLine) { in TEST_F() argument
3851 TEST_F(FormatTest, FormatUnbalancedStructuralElements) { in TEST_F() argument
3858 TEST_F(FormatTest, EscapedNewlines) { in TEST_F() argument
3918 TEST_F(FormatTest, CalculateSpaceOnConsecutiveLinesInMacro) { in TEST_F() argument
3926 TEST_F(FormatTest, MixingPreprocessorDirectivesAndNormalCode) { in TEST_F() argument
3942 TEST_F(FormatTest, LayoutStatementsAroundPreprocessorDirectives) { in TEST_F() argument
4017 TEST_F(FormatTest, GraciouslyHandleIncorrectPreprocessorConditions) { in TEST_F() argument
4022 TEST_F(FormatTest, FormatsJoinedLinesOnSubsequentRuns) { in TEST_F() argument
4034 TEST_F(FormatTest, LayoutBlockInsideParens) { in TEST_F() argument
4082 TEST_F(FormatTest, LayoutBlockInsideStatement) { in TEST_F() argument
4088 TEST_F(FormatTest, LayoutNestedBlocks) { in TEST_F() argument
4165 TEST_F(FormatTest, FormatNestedBlocksInMacros) { in TEST_F() argument
4186 TEST_F(FormatTest, PutEmptyBlocksIntoOneLine) { in TEST_F() argument
4197 TEST_F(FormatTest, FormatBeginBlockEndMacros) { in TEST_F() argument
4222 TEST_F(FormatTest, PreventConfusingIndents) { in TEST_F() argument
4250 TEST_F(FormatTest, LineBreakingInBinaryExpressions) { in TEST_F() argument
4352 TEST_F(FormatTest, ExpressionIndentation) { in TEST_F() argument
4401 TEST_F(FormatTest, ExpressionIndentationBreakingBeforeOperators) { in TEST_F() argument
4491 TEST_F(FormatTest, ExpressionIndentationStrictAlign) { in TEST_F() argument
4593 TEST_F(FormatTest, EnforcedOperatorWraps) { in TEST_F() argument
4602 TEST_F(FormatTest, NoOperandAlignment) { in TEST_F() argument
4638 TEST_F(FormatTest, BreakingBeforeNonAssigmentOperators) { in TEST_F() argument
4647 TEST_F(FormatTest, AllowBinPackingInsideArguments) { in TEST_F() argument
4701 TEST_F(FormatTest, ConstructorInitializers) { in TEST_F() argument
4810 TEST_F(FormatTest, AllowAllConstructorInitializersOnNextLine) { in TEST_F() argument
4943 TEST_F(FormatTest, AllowAllArgumentsOnNextLine) { in TEST_F() argument
4995 TEST_F(FormatTest, AllowAllArgumentsOnNextLineDontAlign) { in TEST_F() argument
5049 TEST_F(FormatTest, BreakConstructorInitializersAfterColon) { in TEST_F() argument
5237 TEST_F(FormatTest, MemoizationTests) { in TEST_F() argument
5317 TEST_F(FormatTest, BreaksAsHighAsPossible) { in TEST_F() argument
5328 TEST_F(FormatTest, BreaksFunctionDeclarations) { in TEST_F() argument
5431 TEST_F(FormatTest, DontBreakBeforeQualifiedOperator) { in TEST_F() argument
5443 TEST_F(FormatTest, TrailingReturnType) { in TEST_F() argument
5466 TEST_F(FormatTest, DeductionGuides) { in TEST_F() argument
5489 TEST_F(FormatTest, BreaksFunctionDeclarationsWithTrailingTokens) { in TEST_F() argument
5589 TEST_F(FormatTest, FunctionAnnotations) { in TEST_F() argument
5611 TEST_F(FormatTest, BreaksDesireably) { in TEST_F() argument
5694 TEST_F(FormatTest, FormatsDeclarationsOnePerLine) { in TEST_F() argument
5726 TEST_F(FormatTest, FormatsOneParameterPerLineIfNecessary) { in TEST_F() argument
5791 TEST_F(FormatTest, AdaptiveOnePerLineFormatting) { in TEST_F() argument
5815 TEST_F(FormatTest, FormatsBuilderPattern) { in TEST_F() argument
5959 TEST_F(FormatTest, BreaksAccordingToOperatorPrecedence) { in TEST_F() argument
6001 TEST_F(FormatTest, BreaksAfterAssignments) { in TEST_F() argument
6019 TEST_F(FormatTest, ConfigurableBreakAssignmentPenalty) { in TEST_F() argument
6031 TEST_F(FormatTest, AlignsAfterAssignments) { in TEST_F() argument
6050 TEST_F(FormatTest, AlignsAfterReturn) { in TEST_F() argument
6073 TEST_F(FormatTest, AlignsAfterOpenBracket) { in TEST_F() argument
6152 TEST_F(FormatTest, ParenthesesAndOperandAlignment) { in TEST_F() argument
6174 TEST_F(FormatTest, BreaksConditionalExpressions) { in TEST_F() argument
6441 TEST_F(FormatTest, BreaksConditionalExpressionsAfterOperator) { in TEST_F() argument
6661 TEST_F(FormatTest, DeclarationsOfMultipleVariables) { in TEST_F() argument
6695 TEST_F(FormatTest, ConditionalExpressionsInBrackets) { in TEST_F() argument
6702 TEST_F(FormatTest, AlignsStringLiterals) { in TEST_F() argument
6761 TEST_F(FormatTest, ReturnTypeBreakingStyle) { in TEST_F() argument
7009 TEST_F(FormatTest, AlwaysBreakBeforeMultilineStrings) { in TEST_F() argument
7086 TEST_F(FormatTest, AlignsPipes) { in TEST_F() argument
7176 TEST_F(FormatTest, KeepStringLabelValuePairsOnALine) { in TEST_F() argument
7235 TEST_F(FormatTest, UnderstandsEquals) { in TEST_F() argument
7253 TEST_F(FormatTest, WrapsAtFunctionCallsIfNecessary) { in TEST_F() argument
7349 TEST_F(FormatTest, WrapsTemplateDeclarations) { in TEST_F() argument
7463 TEST_F(FormatTest, WrapsTemplateDeclarationsWithComments) { in TEST_F() argument
7514 TEST_F(FormatTest, WrapsTemplateParameters) { in TEST_F() argument
7554 TEST_F(FormatTest, WrapsAtNestedNameSpecifiers) { in TEST_F() argument
7589 TEST_F(FormatTest, UnderstandsTemplateParameters) { in TEST_F() argument
7661 TEST_F(FormatTest, UnderstandsShiftOperators) { in TEST_F() argument
7675 TEST_F(FormatTest, BitshiftOperatorWidth) { in TEST_F() argument
7687 TEST_F(FormatTest, UnderstandsBinaryOperators) { in TEST_F() argument
7692 TEST_F(FormatTest, UnderstandsPointersToMembers) { in TEST_F() argument
7716 TEST_F(FormatTest, UnderstandsUnaryOperators) { in TEST_F() argument
7760 TEST_F(FormatTest, DoesNotIndentRelativeToUnaryOperators) { in TEST_F() argument
7770 TEST_F(FormatTest, UnderstandsOverloadedOperators) { in TEST_F() argument
7817 TEST_F(FormatTest, UnderstandsFunctionRefQualification) { in TEST_F() argument
7952 TEST_F(FormatTest, UnderstandsNewAndDelete) { in TEST_F() argument
7967 TEST_F(FormatTest, UnderstandsUsesOfStarAndAmp) { in TEST_F() argument
8303 TEST_F(FormatTest, UnderstandsAttributes) { in TEST_F() argument
8351 TEST_F(FormatTest, UnderstandsPointerQualifiersInCast) { in TEST_F() argument
8398 TEST_F(FormatTest, UnderstandsSquareAttributes) { in TEST_F() argument
8437 TEST_F(FormatTest, AttributeClass) { in TEST_F() argument
8461 TEST_F(FormatTest, AttributesAfterMacro) { in TEST_F() argument
8492 TEST_F(FormatTest, AttributePenaltyBreaking) { in TEST_F() argument
8505 TEST_F(FormatTest, UnderstandsEllipsis) { in TEST_F() argument
8522 TEST_F(FormatTest, AdaptivelyFormatsPointersAndReferences) { in TEST_F() argument
8555 TEST_F(FormatTest, UnderstandsRvalueReferences) { in TEST_F() argument
8576 TEST_F(FormatTest, FormatsBinaryOperatorsPrecedingEquals) { in TEST_F() argument
8584 TEST_F(FormatTest, FormatsCasts) { in TEST_F() argument
8695 TEST_F(FormatTest, FormatsFunctionTypes) { in TEST_F() argument
8727 TEST_F(FormatTest, FormatsPointersToArrayTypes) { in TEST_F() argument
8732 TEST_F(FormatTest, BreaksLongVariableDeclarations) { in TEST_F() argument
8756 TEST_F(FormatTest, BreaksLongDeclarations) { in TEST_F() argument
8858 TEST_F(FormatTest, FormatsArrays) { in TEST_F() argument
8893 TEST_F(FormatTest, LineStartsWithSpecialCharacter) { in TEST_F() argument
8898 TEST_F(FormatTest, HandlesIncludeDirectives) { in TEST_F() argument
8949 TEST_F(FormatTest, IncompleteParameterLists) { in TEST_F() argument
8962 TEST_F(FormatTest, IncorrectCodeTrailingStuff) { in TEST_F() argument
8977 TEST_F(FormatTest, IncorrectCodeMissingSemicolon) { in TEST_F() argument
8995 TEST_F(FormatTest, IndentationWithinColumnLimitNotPossible) { in TEST_F() argument
9006 TEST_F(FormatTest, IncorrectAccessSpecifier) { in TEST_F() argument
9022 TEST_F(FormatTest, IncorrectCodeUnbalancedBraces) { in TEST_F() argument
9028 TEST_F(FormatTest, IncorrectUnbalancedBracesInMacrosWithUnicode) { in TEST_F() argument
9040 TEST_F(FormatTest, IncorrectCodeDoNoWhile) { in TEST_F() argument
9051 TEST_F(FormatTest, IncorrectCodeMissingParens) { in TEST_F() argument
9059 TEST_F(FormatTest, DoesNotTouchUnwrappedLinesWithErrors) { in TEST_F() argument
9066 TEST_F(FormatTest, IncorrectCodeErrorDetection) { in TEST_F() argument
9084 TEST_F(FormatTest, LayoutCallsInsideBraceInitializers) { in TEST_F() argument
9091 TEST_F(FormatTest, LayoutBraceInitializersInReturnStatement) { in TEST_F() argument
9095 TEST_F(FormatTest, LayoutCxx11BraceInitializers) { in TEST_F() argument
9385 TEST_F(FormatTest, FormatSpacesInAngles) { in TEST_F() argument
9399 TEST_F(FormatTest, FormatsBracedListsInColumnLayout) { in TEST_F() argument
9554 TEST_F(FormatTest, PullTrivialFunctionDefinitionsIntoSingleLine) { in TEST_F() argument
9645 TEST_F(FormatTest, PullEmptyFunctionDefinitionsIntoSingleLine) { in TEST_F() argument
9674 TEST_F(FormatTest, PullInlineFunctionDefinitionsIntoSingleLine) { in TEST_F() argument
9714 TEST_F(FormatTest, PullInlineOnlyFunctionDefinitionsIntoSingleLine) { in TEST_F() argument
9760 TEST_F(FormatTest, SplitEmptyFunction) { in TEST_F() argument
9827 TEST_F(FormatTest, KeepShortFunctionAfterPPElse) { in TEST_F() argument
9838 TEST_F(FormatTest, SplitEmptyClass) { in TEST_F() argument
9864 TEST_F(FormatTest, SplitEmptyStruct) { in TEST_F() argument
9891 TEST_F(FormatTest, SplitEmptyUnion) { in TEST_F() argument
9914 TEST_F(FormatTest, SplitEmptyNamespace) { in TEST_F() argument
9942 TEST_F(FormatTest, NeverMergeShortRecords) { in TEST_F() argument
10016 TEST_F(FormatTest, UnderstandContextOfRecordTypeKeywords) { in TEST_F() argument
10076 TEST_F(FormatTest, DoNotInterfereWithErrorAndWarning) { in TEST_F() argument
10086 TEST_F(FormatTest, FormatHashIfExpressions) { in TEST_F() argument
10100 TEST_F(FormatTest, MergeHandlingInTheFaceOfPreprocessorDirectives) { in TEST_F() argument
10163 TEST_F(FormatTest, FormatStarDependingOnContext) { in TEST_F() argument
10178 TEST_F(FormatTest, SpecialTokensAtEndOfLine) { in TEST_F() argument
10183 TEST_F(FormatTest, SkipsDeeplyNestedLines) { in TEST_F() argument
10211 TEST_F(FormatTest, FormatForObjectiveCMethodDecls) { in TEST_F() argument
10279 TEST_F(FormatTest, BreaksStringLiterals) { in TEST_F() argument
10439 TEST_F(FormatTest, BreaksStringLiteralsAtColumnLimit) { in TEST_F() argument
10445 TEST_F(FormatTest, FullyRemoveEmptyLines) { in TEST_F() argument
10452 TEST_F(FormatTest, BreaksStringLiteralsWithTabs) { in TEST_F() argument
10462 TEST_F(FormatTest, BreaksWideAndNSStringLiterals) { in TEST_F() argument
10490 TEST_F(FormatTest, DoesNotBreakRawStringLiterals) { in TEST_F() argument
10500 TEST_F(FormatTest, BreaksStringLiteralsWithin_TMacro) { in TEST_F() argument
10541 TEST_F(FormatTest, BreaksStringLiteralOperands) { in TEST_F() argument
10624 TEST_F(FormatTest, DontSplitStringLiteralsWithEscapedNewlines) { in TEST_F() argument
10634 TEST_F(FormatTest, CountsCharactersInMultilineRawStringLiterals) { in TEST_F() argument
10686 TEST_F(FormatTest, SkipsUnknownStringLiterals) { in TEST_F() argument
10694 TEST_F(FormatTest, DoesNotTryToParseUDLiteralsInPreCpp11Code) { in TEST_F() argument
10701 TEST_F(FormatTest, CppLexVersion) { in TEST_F() argument
10714 TEST_F(FormatTest, UnderstandsCpp1y) { verifyFormat("int bi{1'000'000};"); } in TEST_F() argument
10716 TEST_F(FormatTest, BreakStringLiteralsBeforeUnbreakableTokenSequence) { in TEST_F() argument
10763 TEST_F(FormatTest, DoNotBreakStringLiteralsInEscapeSequence) { in TEST_F() argument
10798 TEST_F(FormatTest, DoNotCreateUnreasonableUnwrappedLines) { in TEST_F() argument
10807 TEST_F(FormatTest, DoNotPrematurelyEndUnwrappedLineForReturnStatements) { in TEST_F() argument
10812 TEST_F(FormatTest, FormatsClosingBracesInEmptyNestedBlocks) { in TEST_F() argument
10820 TEST_F(FormatTest, ConfigurableIndentWidth) { in TEST_F() argument
10842 TEST_F(FormatTest, ConfigurableFunctionDeclarationIndentAfterType) { in TEST_F() argument
10848 TEST_F(FormatTest, ConfigurableUseOfTab) { in TEST_F() argument
11572 TEST_F(FormatTest, ZeroTabWidth) { in TEST_F() argument
11662 TEST_F(FormatTest, CalculatesOriginalColumn) { in TEST_F() argument
11695 TEST_F(FormatTest, ConfigurableSpaceBeforeParens) { in TEST_F() argument
11844 TEST_F(FormatTest, SpaceAfterLogicalNot) { in TEST_F() argument
11855 TEST_F(FormatTest, ConfigurableSpacesInParentheses) { in TEST_F() argument
11962 TEST_F(FormatTest, ConfigurableSpacesInSquareBrackets) { in TEST_F() argument
11988 TEST_F(FormatTest, ConfigurableSpaceBeforeBrackets) { in TEST_F() argument
12023 TEST_F(FormatTest, ConfigurableSpaceBeforeAssignmentOperators) { in TEST_F() argument
12035 TEST_F(FormatTest, ConfigurableSpaceBeforeColon) { in TEST_F() argument
12166 TEST_F(FormatTest, ConfigurableSpaceAroundPointerQualifiers) { in TEST_F() argument
12240 TEST_F(FormatTest, AlignConsecutiveMacros) { in TEST_F() argument
12335 TEST_F(FormatTest, AlignConsecutiveAssignments) { in TEST_F() argument
12560 TEST_F(FormatTest, AlignConsecutiveBitFields) { in TEST_F() argument
12617 TEST_F(FormatTest, AlignConsecutiveDeclarations) { in TEST_F() argument
12962 TEST_F(FormatTest, LinuxBraceBreaking) { in TEST_F() argument
13003 TEST_F(FormatTest, MozillaBraceBreaking) { in TEST_F() argument
13048 TEST_F(FormatTest, StroustrupBraceBreaking) { in TEST_F() argument
13110 TEST_F(FormatTest, AllmanBraceBreaking) { in TEST_F() argument
13346 TEST_F(FormatTest, WhitesmithsBraceBreaking) { in TEST_F() argument
13657 TEST_F(FormatTest, GNUBraceBreaking) { in TEST_F() argument
13781 TEST_F(FormatTest, WebKitBraceBreaking) { in TEST_F() argument
13820 TEST_F(FormatTest, CatchExceptionReferenceBinding) { in TEST_F() argument
13829 TEST_F(FormatTest, UnderstandsPragmas) { in TEST_F() argument
13839 TEST_F(FormatTest, UnderstandPragmaOption) { in TEST_F() argument
13845 TEST_F(FormatTest, OptimizeBreakPenaltyVsExcess) { in TEST_F() argument
13976 TEST_F(FormatTest, GetsPredefinedStyleByName) { in TEST_F() argument
14020 TEST_F(FormatTest, GetsCorrectBasedOnStyle) { in TEST_F() argument
14090 TEST_F(FormatTest, ParsesConfigurationBools) { in TEST_F() argument
14168 TEST_F(FormatTest, ParsesConfiguration) { in TEST_F() argument
14579 TEST_F(FormatTest, ParsesConfigurationWithLanguages) { in TEST_F() argument
14687 TEST_F(FormatTest, UsesLanguageForBasedOnStyle) { in TEST_F() argument
14708 TEST_F(FormatTest, ConfigurationRoundTripTest) { in TEST_F() argument
14717 TEST_F(FormatTest, WorksFor8bitEncodings) { in TEST_F() argument
14728 TEST_F(FormatTest, HandlesUTF8BOM) { in TEST_F() argument
14739 TEST_F(FormatTest, CountsUTF8CharactersProperly) { in TEST_F() argument
14753 TEST_F(FormatTest, SplitsUTF8Strings) { in TEST_F() argument
14792 TEST_F(FormatTest, HandlesDoubleWidthCharsInMultiLineStrings) { in TEST_F() argument
14801 TEST_F(FormatTest, SplitsUTF8LineComments) { in TEST_F() argument
14817 TEST_F(FormatTest, SplitsUTF8BlockComments) { in TEST_F() argument
14843 TEST_F(FormatTest, ConstructorInitializerIndentWidth) { in TEST_F() argument
14884 TEST_F(FormatTest, BreakConstructorInitializersBeforeComma) { in TEST_F() argument
14961 TEST_F(FormatTest, Destructors) { in TEST_F() argument
14966 TEST_F(FormatTest, FormatsWithWebKitStyle) { in TEST_F() argument
15133 TEST_F(FormatTest, FormatsLambdas) { in TEST_F() argument
15766 TEST_F(FormatTest, LambdaWithLineComments) { in TEST_F() argument
15790 TEST_F(FormatTest, EmptyLinesInLambdas) { in TEST_F() argument
15801 TEST_F(FormatTest, FormatsBlocks) { in TEST_F() argument
15904 TEST_F(FormatTest, FormatsBlocksWithZeroColumnWidth) { in TEST_F() argument
15971 TEST_F(FormatTest, SupportsCRLF) { in TEST_F() argument
16111 TEST_F(FormatTest, MunchSemicolonAfterBlocks) { in TEST_F() argument
16118 TEST_F(FormatTest, ConfigurableContinuationIndentWidth) { in TEST_F() argument
16136 TEST_F(FormatTest, WrappedClosingParenthesisIndent) { in TEST_F() argument
16152 TEST_F(FormatTest, SpacesInAngles) { in TEST_F() argument
16180 TEST_F(FormatTest, SpaceAfterTemplateKeyword) { in TEST_F() argument
16186 TEST_F(FormatTest, TripleAngleBrackets) { in TEST_F() argument
16200 TEST_F(FormatTest, MergeLessLessAtEnd) { in TEST_F() argument
16209 TEST_F(FormatTest, HandleUnbalancedImplicitBracesAcrossPPBranches) { in TEST_F() argument
16223 TEST_F(FormatTest, HandleConflictMarkers) { in TEST_F() argument
16315 TEST_F(FormatTest, DisableRegions) { in TEST_F() argument
16357 TEST_F(FormatTest, DoNotCrashOnInvalidInput) { in TEST_F() argument
16362 TEST_F(FormatTest, FormatsTableGenCode) { in TEST_F() argument
16368 TEST_F(FormatTest, ArrayOfTemplates) { in TEST_F() argument
16378 TEST_F(FormatTest, ArrayAsTemplateType) { in TEST_F() argument
16388 TEST_F(FormatTest, NoSpaceAfterSuper) { verifyFormat("__super::FooBar();"); } in TEST_F() argument
16542 TEST_F(FormatTest, FormatSortsUsingDeclarations) { in TEST_F() argument
16550 TEST_F(FormatTest, UTF8CharacterLiteralCpp03) { in TEST_F() argument
16557 TEST_F(FormatTest, UTF8CharacterLiteralCpp11) { in TEST_F() argument
16563 TEST_F(FormatTest, DoNotFormatLikelyXml) { in TEST_F() argument
16568 TEST_F(FormatTest, StructuredBindings) { in TEST_F() argument
16640 TEST_F(FormatTest, FileAndCode) { in TEST_F() argument
16667 TEST_F(FormatTest, GuessLanguageWithCpp11AttributeSpecifiers) { in TEST_F() argument
16700 TEST_F(FormatTest, GuessLanguageWithCaret) { in TEST_F() argument
16716 TEST_F(FormatTest, FormatsInlineAsmSymbolicNames) { in TEST_F() argument
16740 TEST_F(FormatTest, GuessedLanguageWithInlineAsmClobbers) { in TEST_F() argument
16779 TEST_F(FormatTest, GuessLanguageWithChildLines) { in TEST_F() argument
16792 TEST_F(FormatTest, TypenameMacros) { in TEST_F() argument
16827 TEST_F(FormatTest, AtomicQualifier) { in TEST_F() argument
16866 TEST_F(FormatTest, AmbersandInLamda) { in TEST_F() argument
16875 TEST_F(FormatTest, SpacesInConditionalStatement) { in TEST_F() argument
16892 TEST_F(FormatTest, AlternativeOperators) { in TEST_F() argument
16934 TEST_F(FormatTest, STLWhileNotDefineChed) { in TEST_F() argument
16940 TEST_F(FormatTest, OperatorSpacing) { in TEST_F() argument
17076 TEST_F(FormatTest, OperatorPassedAsAFunctionPtr) { in TEST_F() argument
17087 TEST_F(FormatTest, WhitespaceSensitiveMacros) { in TEST_F() argument
17117 TEST_F(FormatTest, VeryLongNamespaceCommentSplit) { in TEST_F() argument
17185 TEST_F(FormatTest, LikelyUnlikely) { in TEST_F() argument
17220 TEST_F(FormatTest, PenaltyIndentedWhitespace) { in TEST_F() argument
17242 TEST_F(FormatTest, LLVMDefaultStyle) { in TEST_F() argument
17249 TEST_F(FormatTest, GNUDefaultStyle) { in TEST_F() argument
17257 TEST_F(FormatTest, MozillaDefaultStyle) { in TEST_F() argument
17265 TEST_F(FormatTest, GoogleDefaultStyle) { in TEST_F() argument
17272 TEST_F(FormatTest, ChromiumDefaultStyle) { in TEST_F() argument
17279 TEST_F(FormatTest, MicrosoftDefaultStyle) { in TEST_F() argument
17287 TEST_F(FormatTest, WebKitDefaultStyle) { in TEST_F() argument
17295 TEST_F(FormatTest, ConceptsAndRequires) { in TEST_F() argument