Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLToken.h335 kw_switch, enumerator
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp633 case tok::kw_switch: in calculateBraceTypes()
1285 tok::kw_switch, tok::kw_case, in isJSDeclOrStmt()
1526 case tok::kw_switch: in parseStructuralElement()
2103 case tok::kw_switch: in parseStructuralElement()
2705 case tok::kw_switch: in parseParens()
3406 assert(FormatTok->is(tok::kw_switch) && "'switch' expected"); in parseSwitch()
H A DFormatToken.h1671 case tok::kw_switch:
1744 case tok::kw_switch: in isCSharpKeyword()
H A DTokenAnnotator.cpp44 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()
1288 CurrentToken->isOneOf(tok::kw_if, tok::kw_switch, tok::kw_case, in consumeToken()
4854 if (Left.isOneOf(tok::pp_elif, tok::kw_for, tok::kw_while, tok::kw_switch, in spaceRequiredBetween()
H A DUnwrappedLineFormatter.cpp730 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch, in tryMergeShortCaseLabels()
H A DContinuationIndenter.cpp844 tok::kw_switch) && in addTokenOnCurrentLine()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp280 case tok::kw_switch: // C99 6.8.4.2: switch-statement in ParseStatementOrDeclarationAfterAttributes()
1623 assert(Tok.is(tok::kw_switch) && "Not a switch stmt!"); in ParseSwitchStatement()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7161 case lltok::kw_switch: in parseInstruction()