Home | History | Annotate | Download | only in Format

Lines Matching refs:FormatStyle

159                             const FormatStyle &Style, unsigned &LineLevel)
161 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman) {
163 } else if (Style.BreakBeforeBraces == FormatStyle::BS_GNU) {
206 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style,
339 if (Style.Language == FormatStyle::LK_Proto) {
441 static bool ShouldBreakBeforeBrace(const FormatStyle &Style,
444 case FormatStyle::BS_Linux:
446 case FormatStyle::BS_Allman:
447 case FormatStyle::BS_GNU:
459 Style.Language == FormatStyle::LK_JavaScript && isGoogScope(*Line);
699 if (Style.Language == FormatStyle::LK_Java ||
700 Style.Language == FormatStyle::LK_JavaScript)
741 if (Style.Language == FormatStyle::LK_JavaScript) {
751 if (Style.Language == FormatStyle::LK_JavaScript &&
791 if (Style.Language == FormatStyle::LK_Java && FormatTok &&
821 if (Style.BreakBeforeBraces != FormatStyle::BS_Attach)
839 if (Style.Language == FormatStyle::LK_JavaScript && Text == "function" &&
848 Style.Language != FormatStyle::LK_JavaScript) {
1021 if (Style.Language == FormatStyle::LK_JavaScript &&
1045 if (Style.Language == FormatStyle::LK_JavaScript) {
1080 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_brace))
1103 if (Style.Language == FormatStyle::LK_JavaScript &&
1161 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman ||
1162 Style.BreakBeforeBraces == FormatStyle::BS_GNU) {
1174 if (Style.BreakBeforeBraces == FormatStyle::BS_Stroustrup)
1212 if (Style.Language == FormatStyle::LK_Java && FormatTok->is(tok::l_paren)) {
1218 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman ||
1219 Style.BreakBeforeBraces == FormatStyle::BS_GNU ||
1220 Style.BreakBeforeBraces == FormatStyle::BS_Stroustrup) {
1240 ((Style.Language == FormatStyle::LK_Java ||
1241 Style.Language == FormatStyle::LK_JavaScript) &&
1259 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman ||
1260 Style.BreakBeforeBraces == FormatStyle::BS_GNU ||
1261 Style.BreakBeforeBraces == FormatStyle::BS_Stroustrup) {
1283 bool AddLevel = Style.NamespaceIndentation == FormatStyle::NI_All ||
1284 (Style.NamespaceIndentation == FormatStyle::NI_Inner &&
1299 if (Style.Language != FormatStyle::LK_Java)
1346 if (Style.BreakBeforeBraces == FormatStyle::BS_GNU)
1375 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman ||
1376 Style.BreakBeforeBraces == FormatStyle::BS_GNU) {
1449 if (Style.Language == FormatStyle::LK_Java) {
1544 ((Style.Language == FormatStyle::LK_Java ||
1545 Style.Language == FormatStyle::LK_JavaScript) &&
1578 if (Style.Language == FormatStyle::LK_Java ||
1579 Style.Language == FormatStyle::LK_JavaScript)
1628 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman ||
1629 Style.BreakBeforeBraces == FormatStyle::BS_GNU)