Lines Matching defs:FormatTest
1 //===- unittest/Format/FormatTest.cpp - Formatting unit tests -------------===//
18 class FormatTest : public test::FormatTestBase {};
20 TEST_F(FormatTest, MessUp) {
28 TEST_F(FormatTest, DefaultLLVMStyleIsCpp) {
32 TEST_F(FormatTest, LLVMStyleOverride) {
41 TEST_F(FormatTest, DoesNotChangeCorrectlyFormattedCode) { verifyFormat(";"); }
43 TEST_F(FormatTest, FormatsGlobalStatementsAt0) {
54 TEST_F(FormatTest, FormatsUnwrappedLinesAtFirstFormat) {
58 TEST_F(FormatTest, FormatsNestedBlockStatements) {
68 TEST_F(FormatTest, FormatsNestedCall) {
74 TEST_F(FormatTest, NestedNameSpecifiers) {
86 TEST_F(FormatTest, OnlyGeneratesNecessaryReplacements) {
102 TEST_F(FormatTest, RemovesEmptyLines) {
415 TEST_F(FormatTest, RecognizesBinaryOperatorKeywords) {
426 TEST_F(FormatTest, RecognizesUnaryOperatorKeywords) {
440 TEST_F(FormatTest, FormatIfWithoutCompoundStatement) {
754 TEST_F(FormatTest, FormatIfWithoutCompoundStatementButElseWith) {
1367 TEST_F(FormatTest, FormatLoopsWithoutCompoundStatement) {
1441 TEST_F(FormatTest, FormatShortBracedStatements) {
1825 TEST_F(FormatTest, UnderstandsMacros) {
1887 TEST_F(FormatTest, ShortBlocksInMacrosDontMergeWithCodeAfterMacro) {
1906 TEST_F(FormatTest, ParseIfElse) {
1963 TEST_F(FormatTest, ElseIf) {
2027 TEST_F(FormatTest, SeparatePointerReferenceAlignment) {
2278 TEST_F(FormatTest, FormatsForLoop) {
2362 TEST_F(FormatTest, RangeBasedForLoops) {
2373 TEST_F(FormatTest, ForEachLoops) {
2477 TEST_F(FormatTest, FormatsWhileLoop) {
2487 TEST_F(FormatTest, FormatsDoWhile) {
2496 TEST_F(FormatTest, FormatsSwitchStatement) {
2814 TEST_F(FormatTest, CaseRanges) {
2823 TEST_F(FormatTest, ShortEnums) {
2868 TEST_F(FormatTest, ShortCompoundRequirement) {
2902 TEST_F(FormatTest, ShortCaseLabels) {
3079 TEST_F(FormatTest, FormatsLabels) {
3200 TEST_F(FormatTest, MultiLineControlStatements) {
3424 TEST_F(FormatTest, BeforeWhile) {
3444 TEST_F(FormatTest, DoesNotBreakSemiAfterClassDecl) {
3448 TEST_F(FormatTest, UnderstandsAccessSpecifiers) {
3561 TEST_F(FormatTest, SeparatesLogicalBlocks) {
3619 TEST_F(FormatTest, FormatsClasses) {
3654 TEST_F(FormatTest, BreakInheritanceStyle) {
3712 TEST_F(FormatTest, FormatsVariableDeclarationsAfterRecord) {
3751 TEST_F(FormatTest, FormatsEnum) {
3871 TEST_F(FormatTest, FormatsEnumsWithErrors) {
3885 TEST_F(FormatTest, FormatsEnumStruct) {
3914 TEST_F(FormatTest, FormatsEnumClass) {
3943 TEST_F(FormatTest, FormatsEnumTypes) {
3952 TEST_F(FormatTest, FormatsTypedefEnum) {
3977 TEST_F(FormatTest, FormatsNSEnums) {
4019 TEST_F(FormatTest, FormatsBitfields) {
4063 TEST_F(FormatTest, FormatsNamespaces) {
4346 TEST_F(FormatTest, NamespaceMacros) {
4441 TEST_F(FormatTest, FormatsCompactNamespaces) {
4633 TEST_F(FormatTest, FormatsExternC) {
4670 TEST_F(FormatTest, IndentExternBlockStyle) {
4744 TEST_F(FormatTest, FormatsInlineASM) {
4802 TEST_F(FormatTest, FormatTryCatch) {
4850 TEST_F(FormatTest, FormatTryAsAVariable) {
4899 TEST_F(FormatTest, FormatSEHTryCatch) {
4919 TEST_F(FormatTest, IncompleteTryCatchBlocks) {
4934 TEST_F(FormatTest, FormatTryCatchBraceStyles) {
5009 TEST_F(FormatTest, StaticInitializers) {
5036 TEST_F(FormatTest, DesignatedInitializers) {
5078 TEST_F(FormatTest, BracedInitializerIndentWidth) {
5263 TEST_F(FormatTest, NestedStaticInitializers) {
5317 TEST_F(FormatTest, FormatsSmallMacroDefinitionsInSingleLine) {
5323 TEST_F(FormatTest, DoesNotBreakPureVirtualFunctionDefinition) {
5336 TEST_F(FormatTest, BreaksStringLiteralsOnlyInDefine) {
5348 TEST_F(FormatTest, UnderstandsLinePPDirective) {
5353 TEST_F(FormatTest, LayoutUnknownPPDirective) {
5358 TEST_F(FormatTest, UnescapedEndOfLineEndsPPDirective) {
5364 TEST_F(FormatTest, EndOfFileEndsPPDirective) {
5369 TEST_F(FormatTest, DoesntRemoveUnknownTokens) {
5387 TEST_F(FormatTest, IndentsPPDirectiveWithPPIndentWidth) {
5655 TEST_F(FormatTest, IndentsPPDirectiveInReducedSpace) {
5669 TEST_F(FormatTest, HandlePreprocessorDirectiveContext) {
5685 TEST_F(FormatTest, LayoutSingleHash) { verifyFormat("#\na;"); }
5687 TEST_F(FormatTest, LayoutCodeInMacroDefinitions) {
5697 TEST_F(FormatTest, LayoutRemainingTokens) {
5702 TEST_F(FormatTest, MacroDefinitionInsideStatement) {
5709 TEST_F(FormatTest, HashInMacroDefinition) {
5743 TEST_F(FormatTest, RespectWhitespaceInMacroDefinitions) {
5754 TEST_F(FormatTest, EmptyLinesInMacroDefinitions) {
5772 TEST_F(FormatTest, MacroDefinitionsWithIncompleteCode) {
5839 TEST_F(FormatTest, MacrosWithoutTrailingSemicolon) {
5893 TEST_F(FormatTest, MacroCallsWithoutTrailingSemicolon) {
6086 TEST_F(FormatTest, FormatsMacrosWithZeroColumnWidth) {
6093 TEST_F(FormatTest, LayoutMacroDefinitionsStatementsSpanningBlocks) {
6101 TEST_F(FormatTest, IndentPreprocessorDirectives) {
6475 TEST_F(FormatTest, FormatAlignInsidePreprocessorElseBlock) {
6619 TEST_F(FormatTest, FormatHashIfNotAtStartOfLine) {
6627 TEST_F(FormatTest, FormatUnbalancedStructuralElements) {
6634 TEST_F(FormatTest, EscapedNewlines) {
6699 TEST_F(FormatTest, CalculateSpaceOnConsecutiveLinesInMacro) {
6707 TEST_F(FormatTest, MixingPreprocessorDirectivesAndNormalCode) {
6722 TEST_F(FormatTest, LayoutStatementsAroundPreprocessorDirectives) {
6834 TEST_F(FormatTest, GraciouslyHandleIncorrectPreprocessorConditions) {
6839 TEST_F(FormatTest, FormatsJoinedLinesOnSubsequentRuns) {
6851 TEST_F(FormatTest, LayoutBlockInsideParens) {
6899 TEST_F(FormatTest, LayoutBlockInsideStatement) {
6905 TEST_F(FormatTest, LayoutNestedBlocks) {
6982 TEST_F(FormatTest, FormatNestedBlocksInMacros) {
7003 TEST_F(FormatTest, PutEmptyBlocksIntoOneLine) {
7039 TEST_F(FormatTest, FormatBeginBlockEndMacros) {
7071 TEST_F(FormatTest, PreventConfusingIndents) {
7099 TEST_F(FormatTest, LineBreakingInBinaryExpressions) {
7201 TEST_F(FormatTest, ExpressionIndentation) {
7250 TEST_F(FormatTest, ExpressionIndentationBreakingBeforeOperators) {
7363 TEST_F(FormatTest, ExpressionIndentationStrictAlign) {
7465 TEST_F(FormatTest, EnforcedOperatorWraps) {
7474 TEST_F(FormatTest, NoOperandAlignment) {
7510 TEST_F(FormatTest, BreakingBeforeNonAssigmentOperators) {
7519 TEST_F(FormatTest, AllowBinPackingInsideArguments) {
7572 TEST_F(FormatTest, BreakBinaryOperatorsInPresenceOfTemplates) {
7609 TEST_F(FormatTest, ConstructorInitializers) {
7737 TEST_F(FormatTest, AllowAllConstructorInitializersOnNextLine) {
7937 TEST_F(FormatTest, AllowAllArgumentsOnNextLine) {
7989 TEST_F(FormatTest, AllowAllArgumentsOnNextLineDontAlign) {
8050 TEST_F(FormatTest, BreakFunctionDefinitionParameters) {
8085 TEST_F(FormatTest, BreakBeforeInlineASMColon) {
8138 TEST_F(FormatTest, BreakConstructorInitializersAfterColon) {
8362 TEST_F(FormatTest, MemoizationTests) {
8443 TEST_F(FormatTest, BreaksAsHighAsPossible) {
8454 TEST_F(FormatTest, BreaksFunctionDeclarations) {
8553 TEST_F(FormatTest, DontBreakBeforeQualifiedOperator) {
8565 TEST_F(FormatTest, TrailingReturnType) {
8596 TEST_F(FormatTest, DeductionGuides) {
8621 TEST_F(FormatTest, BreaksFunctionDeclarationsWithTrailingTokens) {
8744 TEST_F(FormatTest, FunctionAnnotations) {
8767 TEST_F(FormatTest, BreaksDesireably) {
8850 TEST_F(FormatTest, FormatsDeclarationsOnePerLine) {
8882 TEST_F(FormatTest, FormatsOneParameterPerLineIfNecessary) {
8947 TEST_F(FormatTest, FormatsDeclarationBreakAlways) {
8975 TEST_F(FormatTest, FormatsDefinitionBreakAlways) {
9038 TEST_F(FormatTest, AdaptiveOnePerLineFormatting) {
9062 TEST_F(FormatTest, IndentExportBlock) {
9087 TEST_F(FormatTest, ShortExportBlocks) {
9177 TEST_F(FormatTest, FormatsBuilderPattern) {
9321 TEST_F(FormatTest, BreaksAccordingToOperatorPrecedence) {
9363 TEST_F(FormatTest, BreaksAfterAssignments) {
9381 TEST_F(FormatTest, ConfigurableBreakAssignmentPenalty) {
9393 TEST_F(FormatTest, AlignsAfterAssignments) {
9412 TEST_F(FormatTest, AlignsAfterReturn) {
9435 TEST_F(FormatTest, AlignsAfterOpenBracket) {
9619 TEST_F(FormatTest, ParenthesesAndOperandAlignment) {
9641 TEST_F(FormatTest, BreaksConditionalExpressions) {
9930 TEST_F(FormatTest, BreaksConditionalExpressionsAfterOperator) {
10149 TEST_F(FormatTest, DeclarationsOfMultipleVariables) {
10199 TEST_F(FormatTest, ConditionalExpressionsInBrackets) {
10206 TEST_F(FormatTest, AlignsStringLiterals) {
10265 TEST_F(FormatTest, ReturnTypeBreakingStyle) {
10636 TEST_F(FormatTest, AlwaysBreakBeforeMultilineStrings) {
10710 TEST_F(FormatTest, AlignsPipes) {
10800 TEST_F(FormatTest, KeepStringLabelValuePairsOnALine) {
10859 TEST_F(FormatTest, WrapBeforeInsertionOperatorbetweenStringLiterals) {
10870 TEST_F(FormatTest, UnderstandsEquals) {
10888 TEST_F(FormatTest, WrapsAtFunctionCallsIfNecessary) {
10984 TEST_F(FormatTest, WrapsTemplateDeclarations) {
11178 TEST_F(FormatTest, WrapsTemplateDeclarationsWithComments) {
11223 TEST_F(FormatTest, WrapsTemplateParameters) {
11263 TEST_F(FormatTest, WrapsAtNestedNameSpecifiers) {
11304 TEST_F(FormatTest, UnderstandsTemplateParameters) {
11388 TEST_F(FormatTest, UnderstandsShiftOperators) {
11402 TEST_F(FormatTest, BitshiftOperatorWidth) {
11414 TEST_F(FormatTest, UnderstandsBinaryOperators) {
11419 TEST_F(FormatTest, UnderstandsPointersToMembers) {
11453 TEST_F(FormatTest, UnderstandsUnaryOperators) {
11515 TEST_F(FormatTest, DoesNotIndentRelativeToUnaryOperators) {
11525 TEST_F(FormatTest, UnderstandsOverloadedOperators) {
11597 TEST_F(FormatTest, SpaceBeforeTemplateCloser) {
11605 TEST_F(FormatTest, UnderstandsFunctionRefQualification) {
11820 TEST_F(FormatTest, PointerAlignmentFallback) {
11847 TEST_F(FormatTest, UnderstandsNewAndDelete) {
11920 TEST_F(FormatTest, UnderstandsUsesOfStarAndAmp) {
12368 TEST_F(FormatTest, UnderstandsAttributes) {
12420 TEST_F(FormatTest, UnderstandsPointerQualifiersInCast) {
12467 TEST_F(FormatTest, UnderstandsSquareAttributes) {
12508 TEST_F(FormatTest, AttributeClass) {
12532 TEST_F(FormatTest, AttributesAfterMacro) {
12555 TEST_F(FormatTest, AttributePenaltyBreaking) {
12568 TEST_F(FormatTest, UnderstandsEllipsis) {
12585 TEST_F(FormatTest, AdaptivelyFormatsPointersAndReferences) {
12618 TEST_F(FormatTest, UnderstandsRvalueReferences) {
12643 TEST_F(FormatTest, FormatsBinaryOperatorsPrecedingEquals) {
12651 TEST_F(FormatTest, FormatsCasts) {
12787 TEST_F(FormatTest, FormatsFunctionTypes) {
12819 TEST_F(FormatTest, FormatsPointersToArrayTypes) {
12824 TEST_F(FormatTest, BreaksLongVariableDeclarations) {
12848 TEST_F(FormatTest, BreaksLongDeclarations) {
12949 TEST_F(FormatTest, FormatsAccessModifiers) {
13252 TEST_F(FormatTest, FormatsAfterAccessModifiers) {
13619 TEST_F(FormatTest, FormatsAfterAndBeforeAccessModifiersInteraction) {
13781 TEST_F(FormatTest, FormatsArrays) {
13820 TEST_F(FormatTest, LineStartsWithSpecialCharacter) {
13825 TEST_F(FormatTest, HandlesIncludeDirectives) {
13877 TEST_F(FormatTest, IncompleteParameterLists) {
13890 TEST_F(FormatTest, IncorrectCodeTrailingStuff) {
13905 TEST_F(FormatTest, IncorrectCodeMissingSemicolon) {
13923 TEST_F(FormatTest, IndentationWithinColumnLimitNotPossible) {
13934 TEST_F(FormatTest, IncorrectAccessSpecifier) {
13951 TEST_F(FormatTest, IncorrectCodeUnbalancedBraces) {
13963 TEST_F(FormatTest, IncorrectUnbalancedBracesInMacrosWithUnicode) {
13975 TEST_F(FormatTest, IncorrectCodeDoNoWhile) {
13986 TEST_F(FormatTest, IncorrectCodeMissingParens) {
13995 TEST_F(FormatTest, DoesNotTouchUnwrappedLinesWithErrors) {
14002 TEST_F(FormatTest, IncorrectCodeErrorDetection) {
14041 TEST_F(FormatTest, LayoutCallsInsideBraceInitializers) {
14048 TEST_F(FormatTest, LayoutBraceInitializersInReturnStatement) {
14052 TEST_F(FormatTest, LayoutCxx11BraceInitializers) {
14357 TEST_F(FormatTest, FormatsBracedListsInColumnLayout) {
14552 TEST_F(FormatTest, PullTrivialFunctionDefinitionsIntoSingleLine) {
14671 TEST_F(FormatTest, PullEmptyFunctionDefinitionsIntoSingleLine) {
14700 TEST_F(FormatTest, PullInlineFunctionDefinitionsIntoSingleLine) {
14804 TEST_F(FormatTest, PullInlineOnlyFunctionDefinitionsIntoSingleLine) {
14850 TEST_F(FormatTest, SplitEmptyFunction) {
14917 TEST_F(FormatTest, SplitEmptyFunctionButNotRecord) {
14947 TEST_F(FormatTest, KeepShortFunctionAfterPPElse) {
14958 TEST_F(FormatTest, SplitEmptyClass) {
15064 TEST_F(FormatTest, SplitEmptyStruct) {
15091 TEST_F(FormatTest, SplitEmptyUnion) {
15114 TEST_F(FormatTest, SplitEmptyNamespace) {
15142 TEST_F(FormatTest, NeverMergeShortRecords) {
15216 TEST_F(FormatTest, UnderstandContextOfRecordTypeKeywords) {
15280 TEST_F(FormatTest, DoNotInterfereWithErrorAndWarning) {
15287 TEST_F(FormatTest, FormatHashIfExpressions) {
15301 TEST_F(FormatTest, MergeHandlingInTheFaceOfPreprocessorDirectives) {
15369 TEST_F(FormatTest, FormatStarDependingOnContext) {
15384 TEST_F(FormatTest, SpecialTokensAtEndOfLine) {
15389 TEST_F(FormatTest, SkipsDeeplyNestedLines) {
15417 TEST_F(FormatTest, FormatForObjectiveCMethodDecls) {
15482 TEST_F(FormatTest, BreaksStringLiterals) {
15648 TEST_F(FormatTest, BreaksStringLiteralsAtColumnLimit) {
15654 TEST_F(FormatTest, FullyRemoveEmptyLines) {
15661 TEST_F(FormatTest, BreaksStringLiteralsWithTabs) {
15672 TEST_F(FormatTest, BreaksWideAndNSStringLiterals) {
15704 TEST_F(FormatTest, DoesNotBreakRawStringLiterals) {
15713 TEST_F(FormatTest, BreaksStringLiteralsWithin_TMacro) {
15760 TEST_F(FormatTest, BreaksStringLiteralOperands) {
15848 TEST_F(FormatTest, DontSplitStringLiteralsWithEscapedNewlines) {
15857 TEST_F(FormatTest, CountsCharactersInMultilineRawStringLiterals) {
15906 TEST_F(FormatTest, SkipsUnknownStringLiterals) {
15914 TEST_F(FormatTest, DoesNotTryToParseUDLiteralsInPreCpp11Code) {
15921 TEST_F(FormatTest, CppLexVersion) {
15934 TEST_F(FormatTest, UnderstandsCpp1y) { verifyFormat("int bi{1'000'000};"); }
15936 TEST_F(FormatTest, BreakStringLiteralsBeforeUnbreakableTokenSequence) {
15983 TEST_F(FormatTest, DoNotBreakStringLiteralsInEscapeSequence) {
16022 TEST_F(FormatTest, DoNotCreateUnreasonableUnwrappedLines) {
16031 TEST_F(FormatTest, DoNotPrematurelyEndUnwrappedLineForReturnStatements) {
16036 TEST_F(FormatTest, FormatsClosingBracesInEmptyNestedBlocks) {
16044 TEST_F(FormatTest, ConfigurableIndentWidth) {
16066 TEST_F(FormatTest, ConfigurableFunctionDeclarationIndentAfterType) {
16072 TEST_F(FormatTest, ConfigurableUseOfTab) {
16820 TEST_F(FormatTest, ZeroTabWidth) {
16910 TEST_F(FormatTest, CalculatesOriginalColumn) {
16939 TEST_F(FormatTest, ConfigurableSpaceBeforeParens) {
17377 TEST_F(FormatTest, SpaceAfterLogicalNot) {
17388 TEST_F(FormatTest, ConfigurableSpacesInParens) {
17722 TEST_F(FormatTest, ConfigurableSpacesInSquareBrackets) {
17748 TEST_F(FormatTest, ConfigurableSpaceBeforeBrackets) {
17783 TEST_F(FormatTest, ConfigurableSpaceBeforeAssignmentOperators) {
17797 TEST_F(FormatTest, ConfigurableSpaceBeforeColon) {
18067 TEST_F(FormatTest, ConfigurableSpaceAroundPointerQualifiers) {
18162 TEST_F(FormatTest, AlignConsecutiveMacros) {
18408 TEST_F(FormatTest, AlignConsecutiveAssignmentsAcrossEmptyLines) {
18483 TEST_F(FormatTest, AlignConsecutiveDeclarationsAcrossEmptyLinesAndComments) {
18547 TEST_F(FormatTest, AlignConsecutiveBitFieldsAcrossEmptyLinesAndComments) {
18615 TEST_F(FormatTest, AlignConsecutiveAssignmentsAcrossComments) {
18703 TEST_F(FormatTest, AlignConsecutiveAssignmentsAcrossEmptyLinesAndComments) {
19019 TEST_F(FormatTest, AlignCompoundAssignments) {
19146 TEST_F(FormatTest, AlignConsecutiveAssignments) {
19501 TEST_F(FormatTest, AlignConsecutiveBitFields) {
19558 TEST_F(FormatTest, AlignConsecutiveDeclarations) {
20183 TEST_F(FormatTest, AlignConsecutiveShortCaseStatements) {
20417 TEST_F(FormatTest, AlignWithLineBreaks) {
20572 TEST_F(FormatTest, AlignWithInitializerPeriods) {
20618 TEST_F(FormatTest, LinuxBraceBreaking) {
20659 TEST_F(FormatTest, MozillaBraceBreaking) {
20704 TEST_F(FormatTest, StroustrupBraceBreaking) {
20766 TEST_F(FormatTest, AllmanBraceBreaking) {
21054 TEST_F(FormatTest, WhitesmithsBraceBreaking) {
21446 TEST_F(FormatTest, GNUBraceBreaking) {
21570 TEST_F(FormatTest, WebKitBraceBreaking) {
21609 TEST_F(FormatTest, CatchExceptionReferenceBinding) {
21617 TEST_F(FormatTest, CatchAlignArrayOfStructuresRightAlignment) {
21879 TEST_F(FormatTest, CatchAlignArrayOfStructuresLeftAlignment) {
22138 TEST_F(FormatTest, UnderstandsPragmas) {
22162 TEST_F(FormatTest, UnderstandsPragmaOmpTarget) {
22182 TEST_F(FormatTest, UnderstandPragmaOption) {
22188 TEST_F(FormatTest, UnderstandPragmaRegion) {
22194 TEST_F(FormatTest, OptimizeBreakPenaltyVsExcess) {
22308 TEST_F(FormatTest, BreakPenaltyAfterLParen) {
22322 TEST_F(FormatTest, BreakPenaltyAfterCastLParen) {
22338 TEST_F(FormatTest, BreakPenaltyAfterForLoopLParen) {
22368 TEST_F(FormatTest, BreakPenaltyBeforeMemberAccess) {
22386 TEST_F(FormatTest, BreakPenaltyScopeResolution) {
22399 TEST_F(FormatTest, WorksFor8bitEncodings) {
22411 TEST_F(FormatTest, HandlesUTF8BOM) {
22425 TEST_F(FormatTest, CountsUTF8CharactersProperly) {
22439 TEST_F(FormatTest, SplitsUTF8Strings) {
22484 TEST_F(FormatTest, HandlesDoubleWidthCharsInMultiLineStrings) {
22493 TEST_F(FormatTest, SplitsUTF8LineComments) {
22508 TEST_F(FormatTest, SplitsUTF8BlockComments) {
22533 TEST_F(FormatTest, ConstructorInitializerIndentWidth) {
22574 TEST_F(FormatTest, BreakConstructorInitializersBeforeComma) {
22670 TEST_F(FormatTest, ConstructorInitializersWithPreprocessorDirective) {
22742 TEST_F(FormatTest, Destructors) {
22747 TEST_F(FormatTest, FormatsWithWebKitStyle) {
22915 TEST_F(FormatTest, FormatsLambdas) {
23884 TEST_F(FormatTest, LambdaWithLineComments) {
23932 TEST_F(FormatTest, EmptyLinesInLambdas) {
23943 TEST_F(FormatTest, FormatsBlocks) {
24047 TEST_F(FormatTest, FormatsBlocksWithZeroColumnWidth) {
24113 TEST_F(FormatTest, SupportsCRLF) {
24243 TEST_F(FormatTest, MunchSemicolonAfterBlocks) {
24250 TEST_F(FormatTest, ConfigurableContinuationIndentWidth) {
24268 TEST_F(FormatTest, WrappedClosingParenthesisIndent) {
24284 TEST_F(FormatTest, SpacesInAngles) {
24356 TEST_F(FormatTest, SpaceAfterTemplateKeyword) {
24362 TEST_F(FormatTest, TripleAngleBrackets) {
24376 TEST_F(FormatTest, MergeLessLessAtEnd) {
24385 TEST_F(FormatTest, HandleUnbalancedImplicitBracesAcrossPPBranches) {
24399 TEST_F(FormatTest, HandleConflictMarkers) {
24490 TEST_F(FormatTest, DisableRegions) {
24561 TEST_F(FormatTest, DoNotCrashOnInvalidInput) {
24568 TEST_F(FormatTest, FormatsTableGenCode) {
24574 TEST_F(FormatTest, ArrayOfTemplates) {
24584 TEST_F(FormatTest, ArrayAsTemplateType) {
24594 TEST_F(FormatTest, NoSpaceAfterSuper) { verifyFormat("__super::FooBar();"); }
24596 TEST_F(FormatTest, FormatSortsUsingDeclarations) {
24604 TEST_F(FormatTest, UTF8CharacterLiteralCpp03) {
24611 TEST_F(FormatTest, UTF8CharacterLiteralCpp11) {
24617 TEST_F(FormatTest, DoNotFormatLikelyXml) {
24622 TEST_F(FormatTest, StructuredBindings) {
24685 TEST_F(FormatTest, FileAndCode) {
24717 TEST_F(FormatTest, GuessLanguageWithCpp11AttributeSpecifiers) {
24750 TEST_F(FormatTest, GuessLanguageWithCaret) {
24766 TEST_F(FormatTest, GuessLanguageWithPragmas) {
24775 TEST_F(FormatTest, FormatsInlineAsmSymbolicNames) {
24799 TEST_F(FormatTest, GuessedLanguageWithInlineAsmClobbers) {
24838 TEST_F(FormatTest, GuessLanguageWithChildLines) {
24851 TEST_F(FormatTest, TypenameMacros) {
24886 TEST_F(FormatTest, AtomicQualifier) {
24925 TEST_F(FormatTest, C11Generic) {
24969 TEST_F(FormatTest, AmbersandInLamda) {
24978 TEST_F(FormatTest, TrailingReturnTypeAuto) {
24988 TEST_F(FormatTest, SpacesInConditionalStatement) {
25018 TEST_F(FormatTest, AlternativeOperators) {
25069 TEST_F(FormatTest, STLWhileNotDefineChed) {
25075 TEST_F(FormatTest, OperatorSpacing) {
25229 TEST_F(FormatTest, OperatorPassedAsAFunctionPtr) {
25240 TEST_F(FormatTest, WhitespaceSensitiveMacros) {
25265 TEST_F(FormatTest, SkipMacroDefinitionBody) {
25406 TEST_F(FormatTest, VeryLongNamespaceCommentSplit) {
25473 TEST_F(FormatTest, LikelyUnlikely) {
25576 TEST_F(FormatTest, PenaltyIndentedWhitespace) {
25598 TEST_F(FormatTest, LLVMDefaultStyle) {
25605 TEST_F(FormatTest, GNUDefaultStyle) {
25613 TEST_F(FormatTest, MozillaDefaultStyle) {
25621 TEST_F(FormatTest, GoogleDefaultStyle) {
25628 TEST_F(FormatTest, ChromiumDefaultStyle) {
25635 TEST_F(FormatTest, MicrosoftDefaultStyle) {
25643 TEST_F(FormatTest, WebKitDefaultStyle) {
25651 TEST_F(FormatTest, Concepts) {
26068 TEST_F(FormatTest, RequiresClausesPositions) {
26416 TEST_F(FormatTest, RequiresClauses) {
26483 TEST_F(FormatTest, RequiresExpressionIndentation) {
26600 TEST_F(FormatTest, StatementAttributeLikeMacros) {
26630 TEST_F(FormatTest, IndentAccessModifiers) {
26696 TEST_F(FormatTest, LimitlessStringsAndComments) {
26723 TEST_F(FormatTest, FormatDecayCopy) {
26747 TEST_F(FormatTest, Cpp20ModulesSupport) {
26816 TEST_F(FormatTest, CoroutineForCoawait) {
26830 TEST_F(FormatTest, CoroutineCoAwait) {
26854 TEST_F(FormatTest, CoroutineCoYield) {
26865 TEST_F(FormatTest, CoroutineCoReturn) {
26874 TEST_F(FormatTest, EmptyShortBlock) {
26891 TEST_F(FormatTest, ShortTemplatedArgumentLists) {
26903 TEST_F(FormatTest, MultilineLambdaInConditional) {
26951 TEST_F(FormatTest, AlignAfterOpenBracketBlockIndent) {
27109 TEST_F(FormatTest, AlignAfterOpenBracketBlockIndentIfStatement) {
27171 TEST_F(FormatTest, AlignAfterOpenBracketBlockIndentForStatement) {
27201 TEST_F(FormatTest, AlignAfterOpenBracketBlockIndentInitializers) {
27350 TEST_F(FormatTest, UnderstandsDigraphs) {
27360 TEST_F(FormatTest, AlignArrayOfStructuresLeftAlignmentNonSquare) {
27424 TEST_F(FormatTest, AlignArrayOfStructuresRightAlignmentNonSquare) {
27488 TEST_F(FormatTest, FormatsVariableTemplates) {
27494 TEST_F(FormatTest, RemoveSemicolon) {
27568 TEST_F(FormatTest, BreakAfterAttributes) {
27776 TEST_F(FormatTest, InsertNewlineAtEOF) {
27790 TEST_F(FormatTest, KeepEmptyLinesAtEOF) {
27799 TEST_F(FormatTest, SpaceAfterUDL) {
27804 TEST_F(FormatTest, InterfaceAsClassMemberName) {
27811 TEST_F(FormatTest, PreprocessorOverlappingRegions) {
27823 TEST_F(FormatTest, RemoveParentheses) {
27939 TEST_F(FormatTest, AllowBreakBeforeNoexceptSpecifier) {
27985 TEST_F(FormatTest, PPBranchesInBracedInit) {
28004 TEST_F(FormatTest, PPDirectivesAndCommentsInBracedInit) {
28016 TEST_F(FormatTest, BreakAdjacentStringLiterals) {
28031 TEST_F(FormatTest, AlignUTFCommentsAndStringLiterals) {
28070 TEST_F(FormatTest, SpaceBetweenKeywordAndLiteral) {
28076 TEST_F(FormatTest, BreakBinaryOperations) {
28348 TEST_F(FormatTest, RemoveEmptyLinesInUnwrappedLines) {
28425 TEST_F(FormatTest, KeepFormFeed) {
28484 TEST_F(FormatTest, ShortNamespacesOption) {
28590 TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesNever) {
28646 TEST_F(FormatTest, WrapNamespaceBodyWithEmptyLinesAlways) {