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 D | MacroRepeatedSideEffectsCheck.cpp | 53 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 D | LLToken.h | 276 kw_switch, enumerator
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | FormatToken.h | 1554 case tok::kw_switch: 1628 case tok::kw_switch: in isCSharpKeyword()
|
| H A D | UnwrappedLineFormatter.cpp | 410 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 D | UnwrappedLineParser.cpp | 742 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 D | TokenAnnotator.cpp | 33 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 D | ContinuationIndenter.cpp | 711 tok::kw_for, tok::kw_while, tok::kw_switch)) && in addTokenOnCurrentLine()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 287 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 D | ParseObjc.cpp | 1092 case tok::kw_switch: in ParseObjCSelectorPiece()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 5990 case lltok::kw_switch: in parseInstruction()
|