Home
last modified time | relevance | path

Searched refs:kw_default (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp461 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 DSortJavaScriptImports.cpp539 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
551 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
H A DFormatToken.h1537 case tok::kw_default:
1603 case tok::kw_default: in isCSharpKeyword()
1653 case tok::kw_default: in isVerilogIdentifier()
H A DTokenAnnotator.cpp675 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 DUnwrappedLineParser.cpp561 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 DLLToken.h63 kw_default, enumerator
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseOverrideCheck.cpp189 Tokens.back().is(tok::kw_default) || in check()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp1033 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 DParseStmt.cpp275 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 DParseCXXInlineMethods.cpp76 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef()
H A DParseOpenMP.cpp550 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 DParseDeclCXX.cpp2824 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration()
3123 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
H A DParseExpr.cpp3270 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
H A DParseObjc.cpp1056 case tok::kw_default: in ParseObjCSelectorPiece()
H A DParseDecl.cpp2427 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp1829 case lltok::kw_default: in parseOptionalVisibility()