Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DUnwrappedLineParser.cpp427 if (Style.isCSharp()) { in parseLevel()
518 if (!Style.isCSharp() && NextTok->is(tok::l_square)) { in calculateBraceTypes()
1077 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in parseStructuralElement()
1389 if (Style.isCSharp() && FormatTok->is(Keywords.kw_where) && in parseStructuralElement()
1489 if (Style.isCSharp() && Style.BraceWrapping.AfterFunction == true) { in parseStructuralElement()
1503 if (Style.isCSharp()) in parseStructuralElement()
1529 if (!Style.isCSharp()) in tryToParsePropertyAccessor()
1793 if (Style.isCSharp()) { in parseBracedList()
1840 if (Style.isCSharp()) in parseBracedList()
2178 if (Style.isCSharp()) { in parseNew()
[all …]
H A DFormatTokenLexer.cpp73 if (Style.isCSharp()) in lex()
95 if (Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) { in tryMergePreviousTokens()
119 if (Style.isCSharp()) { in tryMergePreviousTokens()
H A DTokenAnnotator.cpp154 !Style.isCSharp() && Style.Language != FormatStyle::LK_Proto && in parseAngle()
431 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
855 } else if (Style.isCSharp()) { in consumeToken()
1073 if (Style.isCSharp()) { in consumeToken()
1108 if (Style.isCSharp() && Tok->is(Keywords.kw_where) && Tok->Next && in consumeToken()
1567 if ((Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) && in determineTokenType()
1795 if (!Style.isCSharp() && !Style.isCpp() && in rParenEndsCast()
1832 if (Tok.Next->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
1944 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
3123 } else if (Style.isCSharp()) { in spaceRequiredBefore()
[all …]
H A DUnwrappedLineFormatter.cpp99 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in getIndentOffset()
1172 (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.h649 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Format/
H A DFormat.h2450 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function