Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
HDUnwrappedLineFormatter.cpp368 I[-1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryFitMultipleLinesInOne()
412 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) { in tryFitMultipleLinesInOne()
473 I[1]->First->isOneOf(tok::kw_case, tok::kw_default)) in tryMergeShortCaseLabels()
488 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
502 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
537 if (Line.First->is(tok::kw_default)) { in tryMergeSimpleBlock()
598 tok::kw_default)) in tryMergeSimpleBlock()
HDSortJavaScriptImports.cpp412 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
424 if (!Current->isOneOf(tok::identifier, tok::kw_default)) in parseNamedBindings()
HDUnwrappedLineParser.cpp355 case tok::kw_default: { in parseLevel()
1029 case tok::kw_default: in parseStructuralElement()
2397 if (FormatTok->is(tok::kw_default)) in parseJavaScriptEs6ImportExport()
HDFormatToken.h914 case tok::kw_default: in isCSharpKeyword()
HDTokenAnnotator.cpp546 tok::kw_default)) { in parseSquare()
2961 if (Left.is(tok::kw_default) && Left.Previous && in spaceRequiredBefore()
3033 if (Line.First->isOneOf(tok::kw_case, tok::kw_default) || in spaceRequiredBefore()
3593 if (Left.is(tok::equal) && !Right.isOneOf(tok::kw_default, tok::kw_delete) && in canBreakBefore()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
HDLLToken.h63 kw_default, enumerator
HDLLParser.cpp1886 case lltok::kw_default: in ParseOptionalVisibility()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
HDParser.cpp949 if (KW.is(tok::kw_default) || KW.is(tok::kw_delete)) in isDeclarationAfterDeclarator()
976 return KW.is(tok::kw_default) || KW.is(tok::kw_delete); in isStartOfFunctionDefinition()
1287 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition()
HDParseStmt.cpp244 case tok::kw_default: // C99 6.8.1: labeled-statement in ParseStatementOrDeclarationAfterAttributes()
816 assert(Tok.is(tok::kw_default) && "Not a default stmt!"); in ParseDefaultStatement()
HDParseCXXInlineMethods.cpp76 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef()
HDParseOpenMP.cpp519 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in ParseOpenMPDeclareMapperDirective()
2608 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::kw_default)) { in parseMapperModifier()
HDParseDeclCXX.cpp2708 if (KW.is(tok::kw_default)) in ParseCXXClassMemberDeclaration()
2986 } else if (Tok.is(tok::kw_default)) { in ParseCXXMemberInitializer()
HDParseExpr.cpp2992 if (Tok.is(tok::kw_default)) { in ParseGenericSelectionExpression()
HDParseObjc.cpp1048 case tok::kw_default: in ParseObjCSelectorPiece()
HDParseDecl.cpp2356 } else if (Tok.is(tok::kw_default)) { in ParseDeclarationAfterDeclaratorAndAttributes()