Lines Matching refs:FormatStyle
245 const FormatStyle &Style, unsigned &LineLevel) in CompoundStatementIndenter()
333 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style, in UnwrappedLineParser()
342 IncludeGuard(Style.IndentPPDirectives == FormatStyle::PPDIS_None in UnwrappedLineParser()
349 IncludeGuard = Style.IndentPPDirectives == FormatStyle::PPDIS_None in reset()
413 if (Style.Language == FormatStyle::LK_TextProto) in parseFile()
427 if (Style.Language == FormatStyle::LK_TextProto && in parseFile()
679 if (Style.Language == FormatStyle::LK_Proto) { in calculateBraceTypes()
892 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseBlock()
929 if (AddLevels > 0u && Style.BreakBeforeBraces != FormatStyle::BS_Whitesmiths) in parseBlock()
1069 static bool ShouldBreakBeforeBrace(const FormatStyle &Style, in ShouldBreakBeforeBrace()
1253 Style.IndentPPDirectives != FormatStyle::PPDIS_None) { in parsePPEndIf()
1292 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPDefine()
1318 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None) in parsePPUnknown()
1530 if (Style.Language == FormatStyle::LK_TableGen && in parseStructuralElement()
1579 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructuralElement()
1678 (Style.IndentExternBlock == FormatStyle::IEBS_Indent) || in parseStructuralElement()
1681 FormatStyle::IEBS_AfterExternBlock) in parseStructuralElement()
1727 if (Style.Language == FormatStyle::LK_Proto) { in parseStructuralElement()
1774 } else if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1803 FormatStyle::BWACS_Always) { in parseStructuralElement()
1818 FormatStyle::BWACS_Always) { in parseStructuralElement()
1885 if (Style.Language == FormatStyle::LK_Java && FormatTok && in parseStructuralElement()
1941 if (Style.Language == FormatStyle::LK_Java && in parseStructuralElement()
1946 FormatStyle::BWACS_Always) { in parseStructuralElement()
1994 if ((Style.isJavaScript() || Style.Language == FormatStyle::LK_Java) && in parseStructuralElement()
2104 } else if (Style.Language == FormatStyle::LK_Proto && in parseStructuralElement()
2512 if (Style.Language == FormatStyle::LK_Proto || in parseBracedList()
2558 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace)) in parseParens()
2683 Tok = Style.BraceWrapping.AfterControlStatement == FormatStyle::BWACS_Never in parseUnbracedBody()
2929 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) in parseTryCatch()
2955 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseTryCatch()
3016 Style.NamespaceIndentation == FormatStyle::NI_All || in parseNamespace()
3017 (Style.NamespaceIndentation == FormatStyle::NI_Inner && in parseNamespace()
3023 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in parseNamespace()
3068 if (Style.Language != FormatStyle::LK_Java) in parseNew()
3148 if (Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) in parseDoWhile()
3172 FormatStyle::BWACS_Always) { in parseLabel()
3175 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) { in parseLabel()
3654 if (Style.Language == FormatStyle::LK_Proto && FormatTok->is(tok::equal)) in parseEnum()
3690 if (Style.Language == FormatStyle::LK_Java) { in parseEnum()
3695 if (Style.Language == FormatStyle::LK_Proto) { in parseEnum()
3731 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in parseStructLike()
3860 ((Style.Language == FormatStyle::LK_Java || Style.isJavaScript()) && in parseRecord()
4351 Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths; in addUnwrappedLine()
4639 if (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash && in readToken()