Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp463 if (Style.isCSharp()) { in parseLevel()
601 if (!Style.isCSharp() && NextTok->is(tok::l_square)) { in calculateBraceTypes()
1472 if (Style.isJava() || Style.isJavaScript() || Style.isCSharp()) in parseStructuralElement()
1947 if (Style.isCSharp() && FormatTok->is(Keywords.kw_where) && in parseStructuralElement()
2059 if ((Style.isJavaScript() || Style.isCSharp()) && in parseStructuralElement()
2071 if (Style.isCSharp()) in parseStructuralElement()
2095 if (Style.isCSharp() && in parseStructuralElement()
2166 if (!Style.isCSharp()) in tryToParsePropertyAccessor()
2473 assert(Style.isJavaScript() || Style.isCSharp()); in tryToParseChildBlock()
2492 if (Style.isCSharp() && FormatTok->is(TT_FatArrow) && in parseBracedList()
[all …]
H A DDefinitionBlockSeparator.cpp172 if (Style.isCSharp() && OperateLine->First->is(TT_AttributeSquare)) in separateBlocks()
H A DFormatToken.cpp72 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
H A DTokenAnnotator.cpp618 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
1333 } else if (Style.isCSharp()) { in consumeToken()
1700 if (Style.isCSharp()) { in consumeToken()
1772 } else if (Style.isCSharp()) { in consumeToken()
2363 if ((Style.isJavaScript() || Style.isCSharp()) && in determineTokenType()
2705 if (!IsCpp && !Style.isCSharp() && !Style.isJava()) in rParenEndsCast()
2781 if (AfterRParen->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
2980 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
3258 if ((Style.isCSharp() || Style.isJavaScript() || Style.isJava()) && in parse()
4766 if (Style.isCSharp() && Left.is(Keywords.kw_is) && Right.is(tok::l_square)) in spaceRequiredBetween()
[all …]
H A DFormatTokenLexer.cpp134 if (Style.isCSharp()) { in lex()
175 if (Style.isJavaScript() || Style.isCSharp()) { in tryMergePreviousTokens()
197 if (Style.isCSharp()) { in tryMergePreviousTokens()
H A DContinuationIndenter.cpp625 (!Style.isCSharp() || in mustBreak()
1533 } else if (Style.isCSharp()) { // C# allows `["key"] = value` inside object in getNewLineColumn()
2481 Style.isCSharp()) { in createBreakableToken()
2486 } else if (Style.isCSharp() && Text.starts_with("@\"") && in createBreakableToken()
H A DUnwrappedLineFormatter.cpp115 if (Style.isJava() || Style.isJavaScript() || Style.isCSharp()) in getIndentOffset()
1459 (Style.isCSharp() && in format()
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h3384 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function