Lines Matching refs:FormatStyle
130 const FormatStyle &Style, unsigned &LineLevel) in CompoundStatementIndenter()
150 SourceManager &SourceMgr, const FormatStyle &Style, in UnwrappedLineParser()
159 IncludeGuard(Style.IndentPPDirectives == FormatStyle::PPDIS_None in UnwrappedLineParser()
167 IncludeGuard = Style.IndentPPDirectives == FormatStyle::PPDIS_None in reset()
266 if (Style.Language == FormatStyle::LK_TextProto) in parseFile()
280 if (Style.Language == FormatStyle::LK_TextProto && in parseFile()
440 if (Style.Language == FormatStyle::LK_Proto || Style.isVerilog() || in parseLevel()
539 if (Style.Language == FormatStyle::LK_Proto) { in calculateBraceTypes()
769 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseBlock()
806 if (AddLevels > 0u && Style.BreakBeforeBraces != FormatStyle::BS_Whitesmiths) in parseBlock()
948 static bool ShouldBreakBeforeBrace(const FormatStyle &Style, in ShouldBreakBeforeBrace()
1131 Style.IndentPPDirectives != FormatStyle::PPDIS_None) { in parsePPEndIf()
1170 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPDefine()
1211 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPUnknown()
1419 if (Style.Language == FormatStyle::LK_TableGen && in parseStructuralElement()
1485 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructuralElement()
1544 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
1585 (Style.IndentExternBlock == FormatStyle::IEBS_Indent) || in parseStructuralElement()
1588 FormatStyle::IEBS_AfterExternBlock) in parseStructuralElement()
1634 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
1698 } else if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1727 FormatStyle::BWACS_Always) { in parseStructuralElement()
1742 FormatStyle::BWACS_Always) { in parseStructuralElement()
1826 if (Style.Language == FormatStyle::LK_Java && FormatTok && in parseStructuralElement()
1889 if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1894 FormatStyle::BWACS_Always) { in parseStructuralElement()
1944 if ((Style.isJavaScript() || Style.Language == FormatStyle::LK_Java) && in parseStructuralElement()
2056 } else if (Style.Language == FormatStyle::LK_Proto && in parseStructuralElement()
2070 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
2521 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace)) in parseParens()
2526 Style.RemoveParentheses > FormatStyle::RPS_Leave) { in parseParens()
2539 Style.RemoveParentheses == FormatStyle::RPS_ReturnStatement && in parseParens()
2672 Tok = Style.BraceWrapping.AfterControlStatement == FormatStyle::BWACS_Never in parseUnbracedBody()
2957 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) in parseTryCatch()
2983 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseTryCatch()
3046 Style.NamespaceIndentation == FormatStyle::NI_All || in parseNamespace()
3047 (Style.NamespaceIndentation == FormatStyle::NI_Inner && in parseNamespace()
3053 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in parseNamespace()
3095 if (Style.Language != FormatStyle::LK_Java) in parseNew()
3199 if (Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) in parseDoWhile()
3223 FormatStyle::BWACS_Always) { in parseLabel()
3226 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseLabel()
3718 if (Style.Language == FormatStyle::LK_Proto && FormatTok->is(tok::equal)) in parseEnum()
3757 if (Style.Language == FormatStyle::LK_Java) { in parseEnum()
3762 if (Style.Language == FormatStyle::LK_Proto) { in parseEnum()
3798 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructLike()
3930 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseRecord()
4441 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in addUnwrappedLine()
4763 if (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash && in readToken()