Lines Matching refs:FormatStyle
155 const FormatStyle &Style, unsigned &LineLevel) in CompoundStatementIndenter()
200 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style, in UnwrappedLineParser()
258 !Line->InPPDirective && Style.Language != FormatStyle::LK_JavaScript; in parseFile()
341 if (Style.Language == FormatStyle::LK_Proto) { in calculateBraceTypes()
457 static bool ShouldBreakBeforeBrace(const FormatStyle &Style, in ShouldBreakBeforeBrace()
475 Style.Language == FormatStyle::LK_JavaScript && isGoogScope(*Line); in parseChildBlock()
727 if (Style.Language == FormatStyle::LK_Java || in parseStructuralElement()
728 Style.Language == FormatStyle::LK_JavaScript) in parseStructuralElement()
769 if (Style.Language == FormatStyle::LK_JavaScript) { in parseStructuralElement()
784 if (Style.Language == FormatStyle::LK_JavaScript && in parseStructuralElement()
815 if (Style.Language != FormatStyle::LK_Cpp) { in parseStructuralElement()
833 if (Style.Language == FormatStyle::LK_Java || in parseStructuralElement()
834 Style.Language == FormatStyle::LK_JavaScript) { in parseStructuralElement()
842 if (Style.Language == FormatStyle::LK_Java && FormatTok && in parseStructuralElement()
845 if (Style.Language == FormatStyle::LK_JavaScript && FormatTok && in parseStructuralElement()
904 if (Style.Language == FormatStyle::LK_JavaScript && in parseStructuralElement()
909 if ((Style.Language == FormatStyle::LK_JavaScript || in parseStructuralElement()
910 Style.Language == FormatStyle::LK_Java) && in parseStructuralElement()
922 Style.Language != FormatStyle::LK_JavaScript) { in parseStructuralElement()
976 if (Style.Language != FormatStyle::LK_Cpp) { in tryToParseLambda()
1123 if (Style.Language == FormatStyle::LK_JavaScript) { in parseBracedList()
1158 if (Style.Language == FormatStyle::LK_JavaScript) { in parseBracedList()
1191 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace)) in parseParens()
1213 if (Style.Language == FormatStyle::LK_JavaScript && in parseParens()
1315 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) { in parseTryCatch()
1340 ((Style.Language == FormatStyle::LK_Java || in parseTryCatch()
1341 Style.Language == FormatStyle::LK_JavaScript) && in parseTryCatch()
1379 bool AddLevel = Style.NamespaceIndentation == FormatStyle::NI_All || in parseNamespace()
1380 (Style.NamespaceIndentation == FormatStyle::NI_Inner && in parseNamespace()
1395 if (Style.Language != FormatStyle::LK_Java) in parseNew()
1539 if (Style.Language == FormatStyle::LK_Cpp && in parseEnum()
1550 if (Style.Language == FormatStyle::LK_Java) { in parseEnum()
1554 } else if (Style.Language == FormatStyle::LK_Proto) { in parseEnum()
1643 ((Style.Language == FormatStyle::LK_Java || in parseRecord()
1644 Style.Language == FormatStyle::LK_JavaScript) && in parseRecord()