Home
last modified time | relevance | path

Searched refs:expectAndConsume (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp720 if (expectAndConsume(MIToken::colon)) in parseBasicBlockDefinition()
798 if (expectAndConsume(MIToken::colon)) in parseBasicBlockLiveins()
831 if (expectAndConsume(MIToken::colon)) in parseBasicBlockSuccessors()
1220 if (expectAndConsume(MIToken::equal)) in parseMachineMetadata()
1608 if (expectAndConsume(MIToken::rparen)) in parseRegisterTiedDefIndex()
2200 if (expectAndConsume(MIToken::lparen)) in parseDIExpression()
2232 if (expectAndConsume(MIToken::rparen)) in parseDIExpression()
2250 if (expectAndConsume(MIToken::lparen)) in parseDILocation()
2329 if (expectAndConsume(MIToken::rparen)) in parseDILocation()
2541 if (expectAndConsume(MIToken::lparen)) in parseBlockAddressOperand()
[all …]
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp289 if (T.expectAndConsume( in ParseOpenMPDeclareReductionDirective()
540 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPDeclareMapperDirective()
1558 if (T.expectAndConsume(diag::err_expected_lparen_after, in parseOpenMPAppendArgs()
1607 if (T.expectAndConsume(diag::err_expected_lparen_after, in parseOMPDeclareVariantMatchClause()
1808 if (T.expectAndConsume(diag::err_expected_lparen_after, in parseOpenMPSimpleClause()
2535 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPDeclarativeOrExecutableDirective()
2993 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPSimpleVarList()
3527 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPInteropClause()
3711 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseOpenMPSingleExprWithArgClause()
3929 if (T.expectAndConsume(diag::err_expected_lparen_after, "mapper")) { in parseMapperModifier()
[all …]
H A DParseExprCXX.cpp1537 if (T.expectAndConsume(diag::err_expected_lparen_after, CastName)) in ParseCXXCasts()
1569 if (T.expectAndConsume(diag::err_expected_lparen_after, "typeid")) in ParseCXXTypeid()
1635 if (T.expectAndConsume(diag::err_expected_lparen_after, "__uuidof")) in ParseCXXUuidof()
3438 if (Braces.expectAndConsume()) in ParseRequiresExpression()
3753 if (Parens.expectAndConsume()) in ParseTypeTrait()
3810 if (T.expectAndConsume()) in ParseArrayTypeTrait()
3853 if (T.expectAndConsume()) in ParseExpressionTrait()
4025 if (T.expectAndConsume(diag::err_expected_lparen_after, "__builtin_bit_cast")) in ParseBuiltinBitCast()
H A DParseExpr.cpp1689 if (T.expectAndConsume(diag::err_expected_lparen_after, "noexcept")) in ParseCastExpression()
2373 if (T.expectAndConsume(diag::err_expected_lparen_after, in ParseSYCLUniqueStableNameExpression()
3243 if (T.expectAndConsume()) in ParseGenericSelectionExpression()
3720 if (Parens.expectAndConsume()) in ParseAvailabilityCheckExpr()
H A DParseDecl.cpp616 T.expectAndConsume(diag::err_expected_lparen_after, in ParseMicrosoftDeclSpecArgs()
753 if (T.expectAndConsume(diag::err_expected_lparen_after, "__declspec", in ParseMicrosoftDeclSpecs()
1329 if (T.expectAndConsume()) in ParseExternalSourceSymbolAttribute()
2943 if (T.expectAndConsume()) in ParseAlignmentSpecifier()
2969 if (T.expectAndConsume()) in ParseExtIntegerArgument()
H A DParsePragma.cpp1520 if (AnyParens.expectAndConsume()) in ParsePragmaAttributeSubjectMatchRuleSet()
1543 if (Parens.expectAndConsume()) in ParsePragmaAttributeSubjectMatchRuleSet()
1569 if (Parens.expectAndConsume()) in ParsePragmaAttributeSubjectMatchRuleSet()
H A DParseDeclCXX.cpp1037 if (T.expectAndConsume(diag::err_expected_lparen_after, "decltype", in ParseDecltypeSpecifier()
1151 if (T.expectAndConsume(diag::err_expected_lparen_after, "__underlying_type", in ParseUnderlyingTypeSpecifier()
H A DParser.cpp2645 bool BalancedDelimiterTracker::expectAndConsume(unsigned DiagID, in expectAndConsume() function in BalancedDelimiterTracker
H A DParseStmt.cpp2618 if (T.expectAndConsume()) in ParseCXXCatchBlock()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h446 bool expectAndConsume(unsigned DiagID = diag::err_expected,