Lines Matching refs:Style

73   AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line,  in AnnotatingParser()  argument
75 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser()
112 if (Style.Language == FormatStyle::LK_Java && in parseAngle()
138 if (Style.Language == FormatStyle::LK_TextProto || in parseAngle()
139 (Style.Language == FormatStyle::LK_Proto && Left->Previous && in parseAngle()
148 Style.Language == FormatStyle::LK_Java) { in parseAngle()
154 !Style.isCSharp() && Style.Language != FormatStyle::LK_Proto && in parseAngle()
155 Style.Language != FormatStyle::LK_TextProto)) in parseAngle()
169 if (Style.Language == FormatStyle::LK_Proto) { in parseAngle()
245 } else if (Style.Language == FormatStyle::LK_JavaScript && in parseParens()
259 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && in parseParens()
265 } else if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && in parseParens()
447 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
498 if (!Style.isCpp() || !Tok.startsSequence(tok::l_square, tok::l_square)) in isCpp11AttributeSpecifier()
544 Style.isCpp() && Parent && Parent->is(TT_TemplateCloser) && in parseSquare()
557 bool IsCppStructuredBinding = Left->isCppStructuredBinding(Style); in parseSquare()
560 Style.isCpp() && !IsCpp11AttributeSpecifier && in parseSquare()
584 } else if (Style.Language == FormatStyle::LK_JavaScript && Parent && in parseSquare()
588 } else if (Style.isCpp() && Contexts.back().ContextKind == tok::l_brace && in parseSquare()
596 } else if (Style.Language == FormatStyle::LK_Proto || in parseSquare()
597 Style.Language == FormatStyle::LK_TextProto) { in parseSquare()
648 if (Style.Language == FormatStyle::LK_JavaScript && Parent && in parseSquare()
776 if (Style.Language == FormatStyle::LK_JavaScript && Left->Previous && in parseBrace()
785 if (Style.AlignArrayOfStructures != FormatStyle::AIAS_None) { in parseBrace()
802 (!Contexts.back().ColonIsDictLiteral || !Style.isCpp())) || in parseBrace()
803 Style.Language == FormatStyle::LK_Proto || in parseBrace()
804 Style.Language == FormatStyle::LK_TextProto) { in parseBrace()
811 Style.Language == FormatStyle::LK_JavaScript) in parseBrace()
815 if (Style.Language == FormatStyle::LK_JavaScript) in parseBrace()
835 Left->Role.reset(new CommaSeparatedList(Style)); in updateParameterCount()
881 if (Style.Language == FormatStyle::LK_JavaScript) { in consumeToken()
895 } else if (Style.isCSharp()) { in consumeToken()
906 Style.Language == FormatStyle::LK_Proto || in consumeToken()
907 Style.Language == FormatStyle::LK_TextProto) { in consumeToken()
909 if (Style.Language == FormatStyle::LK_TextProto) { in consumeToken()
973 if (Style.Language == FormatStyle::LK_JavaScript && in consumeToken()
989 if (Style.Language == FormatStyle::LK_JavaScript) { in consumeToken()
1030 if (Style.Language == FormatStyle::LK_TextProto) { in consumeToken()
1046 if (Style.Language == FormatStyle::LK_TextProto || in consumeToken()
1047 (Style.Language == FormatStyle::LK_Proto && Tok->Previous && in consumeToken()
1070 if (Style.Language != FormatStyle::LK_TextProto) in consumeToken()
1076 if (Style.Language == FormatStyle::LK_TextProto || in consumeToken()
1077 Style.Language == FormatStyle::LK_Proto) in consumeToken()
1098 if (Style.Language == FormatStyle::LK_JavaScript && Tok->Next && in consumeToken()
1111 Style.Language == FormatStyle::LK_JavaScript) in consumeToken()
1113 if (Style.isCSharp()) { in consumeToken()
1148 if (Style.isCSharp() && Tok->is(Keywords.kw_where) && Tok->Next && in consumeToken()
1244 if (Style.Language == FormatStyle::LK_JavaScript && IsFirstToken) { in parsePreprocessorDirective()
1312 if ((Style.Language == FormatStyle::LK_Java && in parseLine()
1332 if (Style.Language == FormatStyle::LK_Proto && Line.Level == 0 && in parseLine()
1346 if (Style.Language == FormatStyle::LK_JavaScript && in parseLine()
1353 if (Style.Language == FormatStyle::LK_JavaScript) { in parseLine()
1480 if (P.Style.AlignArrayOfStructures != FormatStyle::AIAS_None) { in ~ScopedContextCreator()
1496 !(Style.Language == FormatStyle::LK_JavaScript && in modifyContext()
1528 Contexts.back().IsExpression = Style.Language == FormatStyle::LK_Java; in modifyContext()
1623 if ((Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) && in determineTokenType()
1627 Style.Language == FormatStyle::LK_JavaScript in determineTokenType()
1665 Style.Language == FormatStyle::LK_Java) { in determineTokenType()
1694 if (Style.Language == FormatStyle::LK_JavaScript && in determineTokenType()
1705 Style.Language != FormatStyle::LK_TextProto)) { in determineTokenType()
1739 Style.Language != FormatStyle::LK_JavaScript && in determineTokenType()
1740 Style.Language != FormatStyle::LK_Java) { in determineTokenType()
1760 else if (Style.Language == FormatStyle::LK_Java && Current.Previous && in determineTokenType()
1785 } else if ((Style.Language == FormatStyle::LK_Java || in determineTokenType()
1786 Style.Language == FormatStyle::LK_JavaScript) && in determineTokenType()
1816 if (Style.Language == FormatStyle::LK_JavaScript && in isStartOfName()
1851 if (!Style.isCSharp() && !Style.isCpp() && in rParenEndsCast()
1852 Style.Language != FormatStyle::LK_Java) in rParenEndsCast()
1888 if (Tok.Next->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
1901 if (Style.Language == FormatStyle::LK_Java && Tok.Next->is(tok::l_paren)) in rParenEndsCast()
1996 if (Style.Language == FormatStyle::LK_JavaScript) in determineStarAmpUsage()
2000 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
2105 const FormatStyle &Style; member in clang::format::__anone3ff8e3d0111::AnnotatingParser
2125 ExpressionParser(const FormatStyle &Style, const AdditionalKeywords &Keywords, in ExpressionParser() argument
2127 : Style(Style), Keywords(Keywords), Current(Line.First) {} in ExpressionParser()
2225 ((Style.Language == FormatStyle::LK_Proto || in getCurrentPrecedence()
2226 Style.Language == FormatStyle::LK_TextProto) && in getCurrentPrecedence()
2241 if ((Style.Language == FormatStyle::LK_Java || in getCurrentPrecedence()
2242 Style.Language == FormatStyle::LK_JavaScript) && in getCurrentPrecedence()
2245 if (Style.Language == FormatStyle::LK_JavaScript && in getCurrentPrecedence()
2252 if ((Style.Language == FormatStyle::LK_Java || in getCurrentPrecedence()
2253 Style.Language == FormatStyle::LK_JavaScript) && in getCurrentPrecedence()
2315 const FormatStyle &Style; member in clang::format::__anone3ff8e3d0111::ExpressionParser
2346 (Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in setCommentLineLevels()
2372 AnnotatingParser Parser(Style, Line, Keywords); in annotate()
2385 ExpressionParser ExprParser(Style, Keywords, Line); in annotate()
2515 if ((Style.AlwaysBreakAfterReturnType == FormatStyle::RTBS_TopLevel || in mustBreakForReturnType()
2516 Style.AlwaysBreakAfterReturnType == in mustBreakForReturnType()
2521 switch (Style.AlwaysBreakAfterReturnType) { in mustBreakForReturnType()
2543 Line.First->IsMultiline ? Style.ColumnLimit in calculateFormattingInformation()
2548 (Style.AlignArrayOfStructures != FormatStyle::AIAS_None && in calculateFormattingInformation()
2554 if (isFunctionDeclarationName(Style.isCpp(), *Current, Line)) in calculateFormattingInformation()
2560 (Style.Cpp11BracedListStyle && !Style.SpacesInParentheses) ? 0 : 1; in calculateFormattingInformation()
2562 Current->SpacesRequiredBefore = Style.SpacesBeforeTrailingComments; in calculateFormattingInformation()
2601 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
2609 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
2627 if (Style.Language == FormatStyle::LK_ObjC && in calculateFormattingInformation()
2644 Current->MatchingParen->opensBlockOrBlockTypeList(Style)) { in calculateFormattingInformation()
2649 if (Current->opensBlockOrBlockTypeList(Style)) in calculateFormattingInformation()
2720 if (Style.Language == FormatStyle::LK_Java) { in splitPenalty()
2727 } else if (Style.Language == FormatStyle::LK_JavaScript) { in splitPenalty()
2743 if (Style.Language == FormatStyle::LK_Proto) in splitPenalty()
2757 (Right.is(tok::period) && Style.Language == FormatStyle::LK_Proto)) in splitPenalty()
2766 return Style.PenaltyReturnTypeOnItsOwnLine; in splitPenalty()
2845 Style.AlignAfterOpenBracket != FormatStyle::BAS_DontAlign) in splitPenalty()
2860 if (Style.AlignAfterOpenBracket == FormatStyle::BAS_DontAlign && in splitPenalty()
2861 (Left.ParameterCount <= 1 || Style.AllowAllArgumentsOnNextLine)) in splitPenalty()
2863 if (Left.is(tok::l_brace) && !Style.Cpp11BracedListStyle) in splitPenalty()
2865 return Left.ParameterCount > 1 ? Style.PenaltyBreakBeforeFirstCallParameter in splitPenalty()
2893 return Style.PenaltyBreakTemplateDeclaration; in splitPenalty()
2900 return Style.PenaltyBreakAssignment; in splitPenalty()
2908 return Style.SpaceBeforeParens == FormatStyle::SBPO_Always || in spaceRequiredBeforeParens()
2909 (Style.SpaceBeforeParens == FormatStyle::SBPO_NonEmptyParentheses && in spaceRequiredBeforeParens()
2918 if (Style.isJson() && Left.is(tok::string_literal) && Right.is(tok::colon)) in spaceRequiredBetween()
2920 if (Left.is(Keywords.kw_assert) && Style.Language == FormatStyle::LK_Java) in spaceRequiredBetween()
2922 if (Style.ObjCSpaceAfterProperty && Line.Type == LT_ObjCProperty && in spaceRequiredBetween()
2932 return Style.SpaceInEmptyParentheses; in spaceRequiredBetween()
2933 if (Style.SpacesInConditionalStatement) { in spaceRequiredBetween()
2953 ? Style.SpacesInCStyleCastParentheses in spaceRequiredBetween()
2954 : Style.SpacesInParentheses; in spaceRequiredBetween()
2961 return !IsLightweightGeneric && Style.ObjCSpaceBeforeProtocolList; in spaceRequiredBetween()
2964 return Style.SpaceAfterTemplateKeyword; in spaceRequiredBetween()
2977 if (Style.Language == FormatStyle::LK_TextProto || in spaceRequiredBetween()
2978 (Style.Language == FormatStyle::LK_Proto && in spaceRequiredBetween()
2983 return !Style.Cpp11BracedListStyle; in spaceRequiredBetween()
2991 return Style.SpacesInSquareBrackets; in spaceRequiredBetween()
3004 if ((Style.SpaceAroundPointerQualifiers == FormatStyle::SAPQ_After || in spaceRequiredBetween()
3005 Style.SpaceAroundPointerQualifiers == FormatStyle::SAPQ_Both) && in spaceRequiredBetween()
3024 if ((Style.SpaceAroundPointerQualifiers == FormatStyle::SAPQ_Before || in spaceRequiredBetween()
3025 Style.SpaceAroundPointerQualifiers == FormatStyle::SAPQ_Both) && in spaceRequiredBetween()
3044 return Style.PointerAlignment != FormatStyle::PAS_Right; in spaceRequiredBetween()
3081 return (Style.PointerAlignment != FormatStyle::PAS_Left); in spaceRequiredBetween()
3083 return (Style.PointerAlignment != FormatStyle::PAS_Left) || in spaceRequiredBetween()
3084 (Style.SpaceAroundPointerQualifiers == in spaceRequiredBetween()
3086 (Style.SpaceAroundPointerQualifiers == FormatStyle::SAPQ_Both); in spaceRequiredBetween()
3090 [](const FormatToken &LSquareTok, const FormatStyle &Style) { in spaceRequiredBetween() argument
3091 return Style.SpacesInContainerLiterals || in spaceRequiredBetween()
3092 ((Style.Language == FormatStyle::LK_Proto || in spaceRequiredBetween()
3093 Style.Language == FormatStyle::LK_TextProto) && in spaceRequiredBetween()
3094 !Style.Cpp11BracedListStyle && in spaceRequiredBetween()
3100 SpaceRequiredForArrayInitializerLSquare(Left, Style)) || in spaceRequiredBetween()
3103 Style.SpacesInSquareBrackets && Right.isNot(tok::r_square)); in spaceRequiredBetween()
3108 Style)) || in spaceRequiredBetween()
3109 (Style.SpacesInSquareBrackets && in spaceRequiredBetween()
3119 !(!Left.is(tok::r_square) && Style.SpaceBeforeSquareBrackets && in spaceRequiredBetween()
3127 return Style.Cpp11BracedListStyle ? Style.SpacesInParentheses : true; in spaceRequiredBetween()
3130 return Style.Language == FormatStyle::LK_JavaScript || in spaceRequiredBetween()
3141 if (Style.SpaceBeforeParens == in spaceRequiredBetween()
3145 if (Style.SpaceBeforeParens == in spaceRequiredBetween()
3150 (Style.SpaceBeforeParens != FormatStyle::SBPO_Never && in spaceRequiredBetween()
3216 if (Style.isCpp()) { in spaceRequiredBefore()
3220 !Left.opensScope() && Style.SpaceBeforeCpp11BracedList) in spaceRequiredBefore()
3222 } else if (Style.Language == FormatStyle::LK_Proto || in spaceRequiredBefore()
3223 Style.Language == FormatStyle::LK_TextProto) { in spaceRequiredBefore()
3239 return !Style.Cpp11BracedListStyle; in spaceRequiredBefore()
3247 } else if (Style.isJson()) { in spaceRequiredBefore()
3250 } else if (Style.isCSharp()) { in spaceRequiredBefore()
3288 return Style.SpacesInSquareBrackets; in spaceRequiredBefore()
3310 return Style.SpaceBeforeParens == FormatStyle::SBPO_ControlStatements || in spaceRequiredBefore()
3322 } else if (Style.Language == FormatStyle::LK_JavaScript) { in spaceRequiredBefore()
3413 } else if (Style.Language == FormatStyle::LK_Java) { in spaceRequiredBefore()
3417 return Style.SpaceBeforeParens != FormatStyle::SBPO_Never; in spaceRequiredBefore()
3452 return Style.SpaceBeforeCtorInitializerColon; in spaceRequiredBefore()
3453 if (Right.is(TT_InheritanceColon) && !Style.SpaceBeforeInheritanceColon) in spaceRequiredBefore()
3456 !Style.SpaceBeforeRangeBasedForLoopColon) in spaceRequiredBefore()
3459 return Style.BitFieldColonSpacing == FormatStyle::BFCS_Both || in spaceRequiredBefore()
3460 Style.BitFieldColonSpacing == FormatStyle::BFCS_After; in spaceRequiredBefore()
3463 return Style.SpaceBeforeCaseColon; in spaceRequiredBefore()
3473 return Style.SpacesInContainerLiterals; in spaceRequiredBefore()
3479 return Style.BitFieldColonSpacing == FormatStyle::BFCS_Both || in spaceRequiredBefore()
3480 Style.BitFieldColonSpacing == FormatStyle::BFCS_Before; in spaceRequiredBefore()
3501 return Style.SpacesInSquareBrackets; in spaceRequiredBefore()
3503 return (Style.SpaceAfterLogicalNot && Left.is(tok::exclaim)) || in spaceRequiredBefore()
3510 return Style.SpaceAfterCStyleCast || in spaceRequiredBefore()
3514 if (this->Style.SpacesInAngles == FormatStyle::SIAS_Always) in spaceRequiredBefore()
3516 if (this->Style.SpacesInAngles == FormatStyle::SIAS_Leave) in spaceRequiredBefore()
3522 if (Style.Language == FormatStyle::LK_TextProto || in spaceRequiredBefore()
3523 (Style.Language == FormatStyle::LK_Proto && Left.is(TT_DictLiteral))) in spaceRequiredBefore()
3524 return !Style.Cpp11BracedListStyle; in spaceRequiredBefore()
3526 ((Style.Standard < FormatStyle::LS_Cpp11) || in spaceRequiredBefore()
3533 if (!Style.SpaceBeforeAssignmentOperators && Left.isNot(TT_TemplateCloser) && in spaceRequiredBefore()
3536 if (Style.Language == FormatStyle::LK_Java && Right.is(tok::coloncolon) && in spaceRequiredBefore()
3548 ((Style.Standard < FormatStyle::LS_Cpp11) || in spaceRequiredBefore()
3553 (Left.is(tok::l_paren) && Style.SpacesInParentheses); in spaceRequiredBefore()
3610 if (Right.NewlinesBefore > 1 && Style.MaxEmptyLinesToKeep > 0) in mustBreakBefore()
3613 if (Style.isCSharp()) { in mustBreakBefore()
3630 } else if (Style.Language == FormatStyle::LK_JavaScript) { in mustBreakBefore()
3656 switch (Style.AllowShortLambdasOnASingleLine) { in mustBreakBefore()
3675 return Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_None || in mustBreakBefore()
3676 Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_Empty || in mustBreakBefore()
3678 Style.AllowShortFunctionsOnASingleLine & in mustBreakBefore()
3680 } else if (Style.Language == FormatStyle::LK_Java) { in mustBreakBefore()
3684 } else if (Style.Language == FormatStyle::LK_Cpp || in mustBreakBefore()
3685 Style.Language == FormatStyle::LK_ObjC || in mustBreakBefore()
3686 Style.Language == FormatStyle::LK_Proto || in mustBreakBefore()
3687 Style.Language == FormatStyle::LK_TableGen || in mustBreakBefore()
3688 Style.Language == FormatStyle::LK_TextProto) { in mustBreakBefore()
3694 if (Style.isJson()) { in mustBreakBefore()
3717 if (Style.JavaScriptWrapImports || Line.Type != LT_ImportStatement) { in mustBreakBefore()
3720 (Style.Language == FormatStyle::LK_JavaScript && in mustBreakBefore()
3727 (Style.Language == FormatStyle::LK_JavaScript && in mustBreakBefore()
3754 return Style.BreakBeforeConceptDeclarations; in mustBreakBefore()
3755 return (Style.AlwaysBreakTemplateDeclarations == FormatStyle::BTDS_Yes); in mustBreakBefore()
3758 Style.BreakConstructorInitializers == FormatStyle::BCIS_BeforeComma && in mustBreakBefore()
3759 !Style.ConstructorInitializerAllOnOneLineOrOnePerLine) in mustBreakBefore()
3762 Style.BreakConstructorInitializers == FormatStyle::BCIS_BeforeComma && in mustBreakBefore()
3763 !Style.ConstructorInitializerAllOnOneLineOrOnePerLine) in mustBreakBefore()
3766 if (Style.BreakInheritanceList == FormatStyle::BILS_BeforeComma && in mustBreakBefore()
3769 if (Style.BreakInheritanceList == FormatStyle::BILS_AfterComma && in mustBreakBefore()
3780 Right.NestingLevel == 1 && Style.Language == FormatStyle::LK_Proto) { in mustBreakBefore()
3789 return (Line.startsWith(tok::kw_enum) && Style.BraceWrapping.AfterEnum) || in mustBreakBefore()
3791 Style.BraceWrapping.AfterEnum) || in mustBreakBefore()
3792 (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || in mustBreakBefore()
3793 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore()
3795 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) in mustBreakBefore()
3800 Style.AllowShortLambdasOnASingleLine == FormatStyle::SLS_Inline) in mustBreakBefore()
3803 if (Style.AllowShortLambdasOnASingleLine == FormatStyle::SLS_None || in mustBreakBefore()
3804 Style.AllowShortLambdasOnASingleLine == FormatStyle::SLS_Inline || in mustBreakBefore()
3806 Style.AllowShortLambdasOnASingleLine == FormatStyle::SLS_Empty)) in mustBreakBefore()
3810 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace) && in mustBreakBefore()
3816 if ((Style.Language == FormatStyle::LK_Java || in mustBreakBefore()
3817 Style.Language == FormatStyle::LK_JavaScript) && in mustBreakBefore()
3820 (Line.Last->is(tok::l_brace) || Style.BreakAfterJavaFieldAnnotations)) in mustBreakBefore()
3853 if ((Style.Language == FormatStyle::LK_Proto || in mustBreakBefore()
3854 Style.Language == FormatStyle::LK_TextProto) && in mustBreakBefore()
3914 if ((Style.Language == FormatStyle::LK_Cpp || in mustBreakBefore()
3915 Style.Language == FormatStyle::LK_ObjC) && in mustBreakBefore()
3942 if (Style.isCSharp()) { in canBreakBefore()
3953 } else if (Style.Language == FormatStyle::LK_Java) { in canBreakBefore()
3960 } else if (Style.Language == FormatStyle::LK_JavaScript) { in canBreakBefore()
4001 return Style.BreakBeforeBinaryOperators == FormatStyle::BOS_None; in canBreakBefore()
4003 return Style.BreakBeforeBinaryOperators != FormatStyle::BOS_None; in canBreakBefore()
4062 Style.BreakConstructorInitializers == FormatStyle::BCIS_AfterColon); in canBreakBefore()
4066 return Style.BreakBeforeTernaryOperators; in canBreakBefore()
4068 return !Style.BreakBeforeTernaryOperators; in canBreakBefore()
4070 return Style.BreakInheritanceList == FormatStyle::BILS_AfterColon; in canBreakBefore()
4072 return Style.BreakInheritanceList != FormatStyle::BILS_AfterColon; in canBreakBefore()
4081 if (Style.Language == FormatStyle::LK_Proto || in canBreakBefore()
4082 Style.Language == FormatStyle::LK_TextProto) { in canBreakBefore()
4083 if (!Style.AlwaysBreakBeforeMultilineStrings && Right.isStringLiteral()) in canBreakBefore()
4142 !Style.Cpp11BracedListStyle) in canBreakBefore()
4181 return Style.BreakConstructorInitializers == FormatStyle::BCIS_AfterColon; in canBreakBefore()
4183 return Style.BreakConstructorInitializers != FormatStyle::BCIS_AfterColon; in canBreakBefore()
4185 Style.BreakConstructorInitializers == FormatStyle::BCIS_BeforeComma) in canBreakBefore()
4188 Style.BreakConstructorInitializers == FormatStyle::BCIS_BeforeComma) in canBreakBefore()
4191 Style.BreakInheritanceList == FormatStyle::BILS_BeforeComma) in canBreakBefore()
4194 Style.BreakInheritanceList == FormatStyle::BILS_BeforeComma) in canBreakBefore()
4200 Style.BreakBeforeBinaryOperators != FormatStyle::BOS_None && in canBreakBefore()
4201 (Style.BreakBeforeBinaryOperators == FormatStyle::BOS_All || in canBreakBefore()
4210 Style.BreakBeforeBinaryOperators != FormatStyle::BOS_All && in canBreakBefore()
4211 (Style.BreakBeforeBinaryOperators == FormatStyle::BOS_None || in canBreakBefore()
4218 auto ShortLambdaOption = Style.AllowShortLambdasOnASingleLine; in canBreakBefore()
4219 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) { in canBreakBefore()
4264 switch (Style.ReferenceAlignment) { in getTokenReferenceAlignment()
4266 return Style.PointerAlignment; in getTokenReferenceAlignment()
4275 return Style.PointerAlignment; in getTokenReferenceAlignment()
4282 switch (Style.ReferenceAlignment) { in getTokenPointerOrReferenceAlignment()
4284 return Style.PointerAlignment; in getTokenPointerOrReferenceAlignment()
4294 return Style.PointerAlignment; in getTokenPointerOrReferenceAlignment()