Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp368 I[-1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryFitMultipleLinesInOne()
446 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne()
512 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryMergeShortCaseLabels()
527 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
541 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
576 if (Line.First->is(tok::kw_default)) { in tryMergeSimpleBlock()
637 Keywords.kw_abstract, tok::kw_default, tok::kw_public, in tryMergeSimpleBlock()
H A DSortJavaScriptImports.cpp515 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
527 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
H A DFormatToken.h1071 case tok::kw_default:
1137 case tok::kw_default: in isCSharpKeyword()
H A DUnwrappedLineParser.cpp397 case tok::kw_default: { in parseLevel()
1154 case tok::kw_default: in parseStructuralElement()
2971 if (FormatTok->is(tok::kw_default)) in parseJavaScriptEs6ImportExport()
H A DTokenAnnotator.cpp638 tok::kw_default)) { in parseSquare()
947 tok::kw_default)) { in consumeToken()
3387 if (Left.is(tok::kw_default) && Left.Previous && in spaceRequiredBefore()
3462 if (Line.First->isOneOf(tok::kw_default, tok::kw_case)) in spaceRequiredBefore()
4138 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLToken.h63 kw_default, enumerator
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp989 if (KW.is(tok::kw_default) || KW.is(tok::kw_delete)) in isDeclarationAfterDeclarator()
1016 return KW.is(tok::kw_default) || KW.is(tok::kw_delete); in isStartOfFunctionDefinition()
1325 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition()
H A DParseStmt.cpp254 case tok::kw_default: // C99 6.8.1: labeled-statement in ParseStatementOrDeclarationAfterAttributes()
837 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.cpp539 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
3534 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier()
3749 (Tok.is(tok::identifier) || Tok.is(tok::kw_default)) && in ParseOpenMPVarList()
H A DParseDeclCXX.cpp2814 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration()
3112 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
H A DParseExpr.cpp3231 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
H A DParseObjc.cpp1054 case tok::kw_default: in ParseObjCSelectorPiece()
H A DParseDecl.cpp2338 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1737 case lltok::kw_default: in parseOptionalVisibility()