Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DMacroRepeatedSideEffectsCheck.cpp53 return T.isOneOf(tok::kw_if, tok::kw_else, tok::kw_switch, tok::kw_case, in MacroExpands()
/llvm-project-15.0.7/llvm/include/llvm/AsmParser/
H A DLLToken.h276 kw_switch, enumerator
/llvm-project-15.0.7/clang/lib/Format/
H A DFormatToken.h1554 case tok::kw_switch:
1628 case tok::kw_switch: in isCSharpKeyword()
H A DUnwrappedLineFormatter.cpp410 tok::kw_for, tok::kw_switch, tok::kw_try, in tryFitMultipleLinesInOne()
653 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch, in tryMergeShortCaseLabels()
H A DUnwrappedLineParser.cpp742 case tok::kw_switch: in calculateBraceTypes()
1316 tok::kw_switch, tok::kw_case, in isJSDeclOrStmt()
1518 case tok::kw_switch: in parseStructuralElement()
3012 assert(FormatTok->is(tok::kw_switch) && "'switch' expected"); in parseSwitch()
H A DTokenAnnotator.cpp33 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
70 return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch, in isKeywordWithCondition()
3573 if (Left.isOneOf(tok::pp_elif, tok::kw_for, tok::kw_while, tok::kw_switch, in spaceRequiredBetween()
H A DContinuationIndenter.cpp711 tok::kw_for, tok::kw_while, tok::kw_switch)) && in addTokenOnCurrentLine()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp287 case tok::kw_switch: // C99 6.8.4.2: switch-statement in ParseStatementOrDeclarationAfterAttributes()
1635 assert(Tok.is(tok::kw_switch) && "Not a switch stmt!"); in ParseSwitchStatement()
H A DParseObjc.cpp1092 case tok::kw_switch: in ParseObjCSelectorPiece()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp5990 case lltok::kw_switch: in parseInstruction()