Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp447 case tok::kw_default: in tryFitMultipleLinesInOne()
556 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne()
709 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryMergeShortCaseLabels()
728 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
743 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
781 if (Line.First->is(tok::kw_default)) { in tryMergeSimpleBlock()
H A DFormatToken.h1657 case tok::kw_default:
1722 case tok::kw_default: in isCSharpKeyword()
1778 case tok::kw_default: in isVerilogIdentifier()
1877 (Tok.is(tok::kw_default) && in isVerilogEndOfLabel()
H A DSortJavaScriptImports.cpp547 return Tok->isOneOf(tok::identifier, tok::kw_default, tok::kw_template); in parseNamedBindings()
H A DTokenAnnotator.cpp779 tok::kw_default)) { in parseSquare()
1289 tok::kw_default, tok::kw_for, tok::kw_while) && in consumeToken()
1414 tok::kw_default) && in consumeToken()
1752 case tok::kw_default: in consumeToken()
2373 tok::kw_default, tok::kw_namespace, tok::r_paren, tok::r_square, in determineTokenType()
5221 if (Left.is(tok::kw_default) && BeforeLeft && in spaceRequiredBefore()
6358 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
H A DUnwrappedLineParser.cpp430 case tok::kw_default: { in parseLevel()
1533 case tok::kw_default: { in parseStructuralElement()
2128 case tok::kw_default: in parseStructuralElement()
4323 if (FormatTok->is(tok::kw_default)) in parseJavaScriptEs6ImportExport()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLToken.h64 kw_default, enumerator
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1044 if (KW.is(tok::kw_default) || KW.is(tok::kw_delete)) in isDeclarationAfterDeclarator()
1069 return KW.is(tok::kw_default) || KW.is(tok::kw_delete); in isStartOfFunctionDefinition()
1346 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition()
H A DParseStmt.cpp268 case tok::kw_default: // C99 6.8.1: labeled-statement in ParseStatementOrDeclarationAfterAttributes()
901 assert(Tok.is(tok::kw_default) && "Not a default stmt!"); in ParseDefaultStatement()
H A DParseCXXInlineMethods.cpp116 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef()
H A DParseOpenACC.cpp83 if (Tok.is(tok::kw_default)) in getOpenACCClauseKind()
H A DParseOpenMP.cpp420 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
4016 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier()
4417 (Tok.is(tok::identifier) || Tok.is(tok::kw_default)) && in ParseOpenMPVarList()
H A DParseDeclCXX.cpp3049 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration()
3356 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
H A DParseExpr.cpp3046 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
H A DParseDecl.cpp2594 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2104 case lltok::kw_default: in parseOptionalVisibility()