Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp469 if (Style.isCSharp()) { in parseLevel()
606 if (!Style.isCSharp() && NextTok->is(tok::l_square)) { in calculateBraceTypes()
1467 Style.isCSharp()) { in parseStructuralElement()
1939 if (Style.isCSharp() && FormatTok->is(Keywords.kw_where) && in parseStructuralElement()
2049 if ((Style.isJavaScript() || Style.isCSharp()) && in parseStructuralElement()
2060 if (Style.isCSharp()) in parseStructuralElement()
2149 if (!Style.isCSharp()) in tryToParsePropertyAccessor()
2439 assert(Style.isJavaScript() || Style.isCSharp()); in tryToParseChildBlock()
2458 if (Style.isCSharp() && FormatTok->is(TT_FatArrow) && in parseBracedList()
2485 if (Style.isCSharp()) in parseBracedList()
[all...]
H A DFormatToken.cpp73 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
H A DTokenAnnotator.cpp622 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
1341 } else if (Style.isCSharp()) { in consumeToken()
1678 if (Style.isCSharp()) { in consumeToken()
1755 if (Style.isCSharp() && Tok->is(Keywords.kw_where) && Tok->Next && in consumeToken()
2346 if ((Style.isJavaScript() || Style.isCSharp()) && in determineTokenType()
2687 if (!IsCpp && !Style.isCSharp() && Style.Language != FormatStyle::LK_Java) in rParenEndsCast()
2763 if (AfterRParen->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
2943 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
3193 if ((Style.isCSharp() || Style.isJavaScript() || in parse()
4645 if (Style.isCSharp() && Left.is(Keywords.kw_is) && Right.is(tok::l_square)) in spaceRequiredBetween()
[all …]
H A DFormatTokenLexer.cpp91 if (Style.isCSharp()) { in lex()
127 if (Style.isJavaScript() || Style.isCSharp()) { in tryMergePreviousTokens()
150 if (Style.isCSharp()) { in tryMergePreviousTokens()
H A DContinuationIndenter.cpp599 (!Style.isCSharp() || in mustBreak()
1417 } else if (Style.isCSharp()) { // C# allows `["key"] = value` inside object in getNewLineColumn()
2363 Style.isJavaScript() || Style.isCSharp()) { in createBreakableToken()
2368 } else if (Style.isCSharp() && Text.starts_with("@\"") && in createBreakableToken()
H A DUnwrappedLineFormatter.cpp116 Style.isCSharp()) { in getIndentOffset()
1401 (Style.isCSharp() && in format()
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h3210 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function