Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineParser.cpp593 if (Style.isCSharp()) { in parseLevel()
1485 Style.isCSharp()) { in parseStructuralElement()
1950 if ((Style.isJavaScript() || Style.isCSharp()) && in parseStructuralElement()
1961 if (Style.isCSharp()) in parseStructuralElement()
1995 if (!Style.isCSharp()) in tryToParsePropertyAccessor()
2267 assert(Style.isJavaScript() || Style.isCSharp()); in tryToParseChildBlock()
2287 if (Style.isCSharp() && FormatTok->is(TT_FatArrow) && in parseBracedList()
2312 if (Style.isCSharp()) in parseBracedList()
2405 if (Style.isCSharp() && FormatTok->is(TT_FatArrow)) in parseParens()
2863 if (Style.isCSharp()) { in parseNew()
[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 DDefinitionBlockSeparator.cpp167 if ((Style.isCSharp() && OperateLine->First->is(TT_AttributeSquare))) in separateBlocks()
H A DFormatToken.cpp79 if (is(tok::l_brace) && getBlockKind() == BK_BracedInit && Style.isCSharp()) in opensBlockOrBlockTypeList()
H A DTokenAnnotator.cpp167 !Style.isCSharp() && Style.Language != FormatStyle::LK_Proto && in parseAngle()
484 if (!Style.isCSharp()) in isCSharpAttributeSpecifier()
941 } else if (Style.isCSharp()) { in consumeToken()
1182 if (Style.isCSharp()) { in consumeToken()
1783 if ((Style.isJavaScript() || Style.isCSharp()) && in determineTokenType()
2060 if (!Style.isCSharp() && !Style.isCpp() && in rParenEndsCast()
2129 if (Tok.Next->is(Keywords.kw_in) && Style.isCSharp()) in rParenEndsCast()
2283 if (Style.isCSharp() && Tok.is(tok::ampamp)) in determineStarAmpUsage()
3767 } else if (Style.isCSharp()) { in spaceRequiredBefore()
4190 if (Style.isCSharp()) { in mustBreakBefore()
[all …]
H A DUnwrappedLineFormatter.cpp106 Style.isCSharp()) { in getIndentOffset()
1333 (Style.isCSharp() && in format()
H A DContinuationIndenter.cpp556 (!Style.isCSharp() || in mustBreak()
1240 } else if (Style.isCSharp()) { // C# allows `["key"] = value` inside object in getNewLineColumn()
2076 Style.isCSharp() || Style.isJson() || !Style.BreakStringLiterals || in createBreakableToken()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h2599 bool isCSharp() const { return Language == LK_CSharp; } in isCSharp() function