Home
last modified time | relevance | path

Searched refs:isCSharp (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp427 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 …]
H A DFormatTokenLexer.cpp75 if (Style.isCSharp()) in lex()
97 if (Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) { in tryMergePreviousTokens()
121 if (Style.isCSharp()) { in tryMergePreviousTokens()
H A DTokenAnnotator.cpp154 !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 …]
H A DUnwrappedLineFormatter.cpp101 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in getIndentOffset()
1187 (Style.isCSharp() && in format()
H A DContinuationIndenter.cpp497 (!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()
H A DFormatToken.h659 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h2510 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function