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