Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Format/
H A DUnwrappedLineParser.cpp614 if (Style.isCSharp()) { in parseLevel()
1580 Style.isCSharp()) { in parseStructuralElement()
2089 if ((Style.isJavaScript() || Style.isCSharp()) && in parseStructuralElement()
2100 if (Style.isCSharp()) in parseStructuralElement()
2169 if (!Style.isCSharp()) in tryToParsePropertyAccessor()
2444 assert(Style.isJavaScript() || Style.isCSharp()); in tryToParseChildBlock()
2464 if (Style.isCSharp() && FormatTok->is(TT_FatArrow) && in parseBracedList()
2489 if (Style.isCSharp()) in parseBracedList()
2582 if (Style.isCSharp() && FormatTok->is(TT_FatArrow)) in parseParens()
3051 if (Style.isCSharp()) { in parseNew()
[all …]
H A DDefinitionBlockSeparator.cpp167 if ((Style.isCSharp() && OperateLine->First->is(TT_AttributeSquare))) in separateBlocks()
H A DFormatToken.cpp80 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
H A DTokenAnnotator.cpp198 !Style.isCSharp() && Style.Language != FormatStyle::LK_Proto && in parseAngle()
526 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
967 } else if (Style.isCSharp()) { in consumeToken()
1234 if (Style.isCSharp()) { in consumeToken()
1838 if ((Style.isJavaScript() || Style.isCSharp()) && in determineTokenType()
2124 if (!Style.isCSharp() && !Style.isCpp() && in rParenEndsCast()
2196 if (Tok.Next->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
2350 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
3898 } else if (Style.isCSharp()) { in spaceRequiredBefore()
4361 if (Style.isCSharp()) { in mustBreakBefore()
[all …]
H A DFormatTokenLexer.cpp88 if (Style.isCSharp()) { in lex()
111 if (Style.isJavaScript() || Style.isCSharp()) { in tryMergePreviousTokens()
134 if (Style.isCSharp()) { in tryMergePreviousTokens()
H A DUnwrappedLineFormatter.cpp113 Style.isCSharp()) { in getIndentOffset()
1355 (Style.isCSharp() && in format()
H A DContinuationIndenter.cpp571 (!Style.isCSharp() || in mustBreak()
1260 } else if (Style.isCSharp()) { // C# allows `["key"] = value` inside object in getNewLineColumn()
2111 Style.isCSharp() || Style.isJson() || !Style.BreakStringLiterals || in createBreakableToken()
/openbsd/gnu/llvm/clang/include/clang/Format/
H A DFormat.h2723 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function