Searched refs:isCSharp (Results 1 – 7 of 7) sorted by relevance
427 if (Style.isCSharp()) { in parseLevel()518 if (!Style.isCSharp() && NextTok->is(tok::l_square)) { in calculateBraceTypes()1124 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in parseStructuralElement()1447 if (Style.isCSharp() && FormatTok->is(Keywords.kw_where) && in parseStructuralElement()1561 if (Style.isCSharp()) in parseStructuralElement()1587 if (!Style.isCSharp()) in tryToParsePropertyAccessor()1851 if (Style.isCSharp()) { in parseBracedList()1904 if (Style.isCSharp()) in parseBracedList()1993 if (Style.isCSharp() && FormatTok->is(TT_FatArrow)) in parseParens()2256 if (Style.isCSharp()) { in parseNew()[all …]
75 if (Style.isCSharp()) in lex()97 if (Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) { in tryMergePreviousTokens()121 if (Style.isCSharp()) { in tryMergePreviousTokens()
154 !Style.isCSharp() && Style.Language != FormatStyle::LK_Proto && in parseAngle()447 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()895 } else if (Style.isCSharp()) { in consumeToken()1113 if (Style.isCSharp()) { in consumeToken()1148 if (Style.isCSharp() && Tok->is(Keywords.kw_where) && Tok->Next && in consumeToken()1851 if (!Style.isCSharp() && !Style.isCpp() && in rParenEndsCast()1888 if (Tok.Next->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()2000 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()3250 } else if (Style.isCSharp()) { in spaceRequiredBefore()3613 if (Style.isCSharp()) { in mustBreakBefore()[all …]
101 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in getIndentOffset()1187 (Style.isCSharp() && in format()
497 (!Style.isCSharp() || in mustBreak()1113 else if (Style.isCSharp()) // C# allows `["key"] = value` inside object in getNewLineColumn()1913 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp() || in createBreakableToken()
659 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
2510 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function