Home
last modified time | relevance | path

Searched refs:kw_switch (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLToken.h321 kw_switch, enumerator
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp638 case tok::kw_switch: in calculateBraceTypes()
1278 tok::kw_switch, tok::kw_case, in isJSDeclOrStmt()
1522 case tok::kw_switch: in parseStructuralElement()
2086 case tok::kw_switch: in parseStructuralElement()
2640 case tok::kw_switch: in parseParens()
3330 assert(FormatTok->is(tok::kw_switch) && "'switch' expected"); in parseSwitch()
H A DUnwrappedLineFormatter.cpp434 tok::kw_for, tok::kw_switch, tok::kw_try, in tryFitMultipleLinesInOne()
687 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch, in tryMergeShortCaseLabels()
H A DFormatToken.h1692 case tok::kw_switch:
1765 case tok::kw_switch: in isCSharpKeyword()
H A DTokenAnnotator.cpp45 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
82 return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch, in isKeywordWithCondition()
1298 CurrentToken->isOneOf(tok::kw_if, tok::kw_switch, tok::kw_case, in consumeToken()
4731 if (Left.isOneOf(tok::pp_elif, tok::kw_for, tok::kw_while, tok::kw_switch, in spaceRequiredBetween()
H A DContinuationIndenter.cpp804 tok::kw_switch); in addTokenOnCurrentLine()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp316 case tok::kw_switch: // C99 6.8.4.2: switch-statement in ParseStatementOrDeclarationAfterAttributes()
1724 assert(Tok.is(tok::kw_switch) && "Not a switch stmt!"); in ParseSwitchStatement()
H A DParseObjc.cpp1142 case tok::kw_switch: in ParseObjCSelectorPiece()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6861 case lltok::kw_switch: in parseInstruction()