Searched refs:kw_default (Results 1 – 16 of 16) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | UnwrappedLineFormatter.cpp | 461 case tok::kw_default: in tryFitMultipleLinesInOne() 563 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne() 635 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryMergeShortCaseLabels() 651 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels() 666 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels() 707 if (Line.First->is(tok::kw_default)) { in tryMergeSimpleBlock()
|
| H A D | SortJavaScriptImports.cpp | 539 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings() 551 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
|
| H A D | FormatToken.h | 1537 case tok::kw_default: 1603 case tok::kw_default: in isCSharpKeyword() 1653 case tok::kw_default: in isVerilogIdentifier()
|
| H A D | TokenAnnotator.cpp | 675 tok::kw_default)) { in parseSquare() 998 tok::kw_default)) { in consumeToken() 1793 tok::kw_default, tok::kw_namespace, tok::r_paren, tok::r_square, in determineTokenType() 3916 if (Left.is(tok::kw_default) && Left.Previous && in spaceRequiredBefore() 4016 if (Line.First->isOneOf(tok::kw_default, tok::kw_case)) in spaceRequiredBefore() 4828 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
|
| H A D | UnwrappedLineParser.cpp | 561 case tok::kw_default: { in parseLevel() 1525 case tok::kw_default: in parseStructuralElement() 3943 if (FormatTok->is(tok::kw_default)) in parseJavaScriptEs6ImportExport()
|
| /llvm-project-15.0.7/llvm/include/llvm/AsmParser/ |
| H A D | LLToken.h | 63 kw_default, enumerator
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseOverrideCheck.cpp | 189 Tokens.back().is(tok::kw_default) || in check()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 1033 if (KW.is(tok::kw_default) || KW.is(tok::kw_delete)) in isDeclarationAfterDeclarator() 1060 return KW.is(tok::kw_default) || KW.is(tok::kw_delete); in isStartOfFunctionDefinition() 1338 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition()
|
| H A D | ParseStmt.cpp | 275 case tok::kw_default: // C99 6.8.1: labeled-statement in ParseStatementOrDeclarationAfterAttributes() 886 assert(Tok.is(tok::kw_default) && "Not a default stmt!"); in ParseDefaultStatement()
|
| H A D | ParseCXXInlineMethods.cpp | 76 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef()
|
| H A D | ParseOpenMP.cpp | 550 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective() 3940 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier() 4184 (Tok.is(tok::identifier) || Tok.is(tok::kw_default)) && in ParseOpenMPVarList()
|
| H A D | ParseDeclCXX.cpp | 2824 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration() 3123 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
|
| H A D | ParseExpr.cpp | 3270 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
|
| H A D | ParseObjc.cpp | 1056 case tok::kw_default: in ParseObjCSelectorPiece()
|
| H A D | ParseDecl.cpp | 2427 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 1829 case lltok::kw_default: in parseOptionalVisibility()
|