Lines Matching refs:FormatStyle

138                             const FormatStyle &Style, unsigned &LineLevel)  in CompoundStatementIndenter()
158 SourceManager &SourceMgr, const FormatStyle &Style, in UnwrappedLineParser()
168 IncludeGuard(Style.IndentPPDirectives == FormatStyle::PPDIS_None in UnwrappedLineParser()
178 IncludeGuard = Style.IndentPPDirectives == FormatStyle::PPDIS_None in reset()
277 if (Style.Language == FormatStyle::LK_TextProto) in parseFile()
291 if (Style.Language == FormatStyle::LK_TextProto && in parseFile()
450 if (Style.Language == FormatStyle::LK_Proto || Style.isVerilog() || in parseLevel()
550 if (Style.Language == FormatStyle::LK_Proto) { in calculateBraceTypes()
777 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseBlock()
814 if (AddLevels > 0u && Style.BreakBeforeBraces != FormatStyle::BS_Whitesmiths) in parseBlock()
959 static bool ShouldBreakBeforeBrace(const FormatStyle &Style, in ShouldBreakBeforeBrace()
1142 Style.IndentPPDirectives != FormatStyle::PPDIS_None) { in parsePPEndIf()
1181 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPDefine()
1216 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPUnknown()
1423 if (Style.Language == FormatStyle::LK_TableGen && in parseStructuralElement()
1466 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructuralElement()
1555 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
1596 (Style.IndentExternBlock == FormatStyle::IEBS_Indent) || in parseStructuralElement()
1599 FormatStyle::IEBS_AfterExternBlock) in parseStructuralElement()
1645 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
1715 } else if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1744 FormatStyle::BWACS_Always) { in parseStructuralElement()
1759 FormatStyle::BWACS_Always) { in parseStructuralElement()
1844 if (Style.Language == FormatStyle::LK_Java && FormatTok && in parseStructuralElement()
1906 if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1911 FormatStyle::BWACS_Always) { in parseStructuralElement()
1962 if ((Style.isJavaScript() || Style.Language == FormatStyle::LK_Java) && in parseStructuralElement()
2074 } else if (Style.Language == FormatStyle::LK_Proto && in parseStructuralElement()
2087 if (Style.Language == FormatStyle::LK_Java) in parseStructuralElement()
2094 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
2561 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace)) in parseParens()
2567 Style.RemoveParentheses > FormatStyle::RPS_Leave) { in parseParens()
2579 Style.RemoveParentheses == FormatStyle::RPS_ReturnStatement && in parseParens()
2641 if (Style.Language == FormatStyle::LK_Java) in parseParens()
2728 Tok = Style.BraceWrapping.AfterControlStatement == FormatStyle::BWACS_Never in parseUnbracedBody()
3018 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) in parseTryCatch()
3046 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseTryCatch()
3109 Style.NamespaceIndentation == FormatStyle::NI_All || in parseNamespace()
3110 (Style.NamespaceIndentation == FormatStyle::NI_Inner && in parseNamespace()
3116 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in parseNamespace()
3158 if (Style.Language != FormatStyle::LK_Java) in parseNew()
3262 if (Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) in parseDoWhile()
3287 FormatStyle::BWACS_Always) { in parseLabel()
3290 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseLabel()
3320 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::arrow)) { in parseCaseLabel()
3789 if (Style.Language == FormatStyle::LK_Proto && FormatTok->is(tok::equal)) in parseEnum()
3832 if (Style.Language == FormatStyle::LK_Java) { in parseEnum()
3837 if (Style.Language == FormatStyle::LK_Proto) { in parseEnum()
3873 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructLike()
4010 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseRecord()
4557 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in addUnwrappedLine()
4878 if (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash && in readToken()