Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp485 case tok::kw_default: in tryFitMultipleLinesInOne()
594 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne()
666 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryMergeShortCaseLabels()
685 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
700 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
741 if (Line.First->is(tok::kw_default)) { in tryMergeSimpleBlock()
H A DFormatToken.h1678 case tok::kw_default:
1743 case tok::kw_default: in isCSharpKeyword()
1799 case tok::kw_default: in isVerilogIdentifier()
1894 (Tok.is(tok::kw_default) && in isVerilogEndOfLabel()
H A DSortJavaScriptImports.cpp550 return Tok->isOneOf(tok::identifier, tok::kw_default, tok::kw_template); in parseNamedBindings()
H A DTokenAnnotator.cpp783 tok::kw_default)) { in parseSquare()
1299 tok::kw_default, tok::kw_for, tok::kw_while) && in consumeToken()
1419 tok::kw_default)) { in consumeToken()
1743 case tok::kw_default: in consumeToken()
2356 tok::kw_default, tok::kw_namespace, tok::r_paren, tok::r_square, in determineTokenType()
5097 if (Left.is(tok::kw_default) && Left.Previous && in spaceRequiredBefore()
6178 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
H A DUnwrappedLineParser.cpp436 case tok::kw_default: { in parseLevel()
1529 case tok::kw_default: { in parseStructuralElement()
2111 case tok::kw_default: in parseStructuralElement()
4304 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.cpp1088 if (KW.is(tok::kw_default) || KW.is(tok::kw_delete)) in isDeclarationAfterDeclarator()
1115 return KW.is(tok::kw_default) || KW.is(tok::kw_delete); in isStartOfFunctionDefinition()
1422 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition()
H A DParseStmt.cpp304 case tok::kw_default: // C99 6.8.1: labeled-statement in ParseStatementOrDeclarationAfterAttributes()
962 assert(Tok.is(tok::kw_default) && "Not a default stmt!"); in ParseDefaultStatement()
H A DParseCXXInlineMethods.cpp122 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef()
H A DParseOpenACC.cpp82 if (Tok.is(tok::kw_default)) in getOpenACCClauseKind()
H A DParseOpenMP.cpp555 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
4085 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier()
4396 (Tok.is(tok::identifier) || Tok.is(tok::kw_default)) && in ParseOpenMPVarList()
H A DParseDeclCXX.cpp3125 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration()
3452 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
H A DParseExpr.cpp3499 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
H A DParseObjc.cpp1106 case tok::kw_default: in ParseObjCSelectorPiece()
H A DParseDecl.cpp2781 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2108 case lltok::kw_default: in parseOptionalVisibility()