Home
last modified time | relevance | path

Searched refs:err_expected (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp58 Diag(Tok, diag::err_expected) << tok::identifier; in ParseHLSLBuffer()
71 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseHLSLBuffer()
158 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
174 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
187 if (ExpectAndConsume(tok::r_paren, diag::err_expected)) { in ParseHLSLAnnotations()
201 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
230 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseHLSLAnnotations()
275 if (ExpectAndConsume(tok::r_paren, diag::err_expected)) { in ParseHLSLAnnotations()
H A DParseStmtAsm.cpp516 Diag(Tok, diag::err_expected) << tok::r_brace; in ParseMicrosoftAsmStatement()
523 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftAsmStatement()
827 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseAsmStatement()
840 Diag(Tok, diag::err_expected) << tok::identifier; in ParseAsmStatement()
860 Diag(Tok, diag::err_expected) << tok::colon; in ParseAsmStatement()
898 Diag(Tok, diag::err_expected) << tok::identifier; in ParseAsmOperandsOpt()
H A DParseCXXInlineMethods.cpp988 return Diag(Tok.getLocation(), diag::err_expected) << tok::l_brace; in ConsumeAndStoreFunctionPrologue()
1021 Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in ConsumeAndStoreFunctionPrologue()
1051 Diag(Tok.getLocation(), diag::err_expected) << tok::r_square; in ConsumeAndStoreFunctionPrologue()
1090 return Diag(Tok.getLocation(), diag::err_expected) << tok::l_brace; in ConsumeAndStoreFunctionPrologue()
1098 return Diag(Tok.getLocation(), diag::err_expected) << tok::l_paren; in ConsumeAndStoreFunctionPrologue()
1142 Diag(Tok, diag::err_expected) << CloseKind; in ConsumeAndStoreFunctionPrologue()
H A DParseStmt.cpp605 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHTryBlock()
676 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHExceptBlock()
697 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseSEHFinallyBlock()
1210 Diag(Tok, diag::err_expected) << tok::identifier; in ParseCompoundStatementBody()
2401 Diag(Tok, diag::err_expected) << tok::identifier; in ParseGotoStatement()
2650 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXTryBlockCommon()
2754 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); in ParseCXXCatchBlock()
2775 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()
2795 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsStatement()
H A DParseObjc.cpp291 Diag(Tok, diag::err_expected) in ParseObjCAtInterfaceDeclaration()
2217 Diag(Tok, diag::err_expected) in ParseObjCAtImplementationDeclaration()
2222 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseObjCAtImplementationDeclaration()
2448 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseObjCPropertyDynamic()
2525 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseObjCSynchronizedStmt()
2534 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseObjCSynchronizedStmt()
2576 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseObjCTryStmt()
2631 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseObjCTryStmt()
2662 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseObjCTryStmt()
2694 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseObjCAutoreleasePoolStmt()
[all …]
H A DParseTemplate.cpp327 Diag(Tok.getLocation(), diag::err_expected) << tok::equal; in ParseConceptDefinition()
384 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseTemplateParameters()
727 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseTypeParameter()
865 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseTemplateTemplateParameter()
1014 Diag(getEndOfPreviousToken(), diag::err_expected) << tok::greater; in ParseGreaterThanInTemplateList()
H A DParseExpr.cpp550 Diag(Tok, diag::err_expected) in ParseRHSOfBinaryExpression()
1542 return ExprError(Diag(Tok, diag::err_expected) << tok::identifier); in ParseCastExpression()
2167 Diag(Tok, diag::err_expected) << tok::greatergreatergreater; in ParsePostfixExpressionSuffix()
2732 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseBuiltinPrimaryExpression()
2768 Diag(Tok, diag::err_expected) << tok::identifier; in ParseBuiltinPrimaryExpression()
2790 Diag(Tok, diag::err_expected) << tok::identifier; in ParseBuiltinPrimaryExpression()
2859 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseBuiltinPrimaryExpression()
2886 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseBuiltinPrimaryExpression()
2915 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseBuiltinPrimaryExpression()
2933 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseBuiltinPrimaryExpression()
H A DParseDeclCXX.cpp139 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace()
164 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseNamespace()
1043 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseStaticAssertDeclaration()
1884 Diag(Tok, diag::err_expected) << tok::identifier; in ParseClassSpecifier()
3594 Diag(EndLoc, diag::err_expected) in ParseCXXClassMemberDeclarationWithPragmas()
3598 Diag(EndLoc, diag::err_expected) in ParseCXXClassMemberDeclarationWithPragmas()
4101 return Diag(Tok, diag::err_expected) << tok::l_paren; in ParseMemInitializer()
4528 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseOpenMPAttributeArgs()
4858 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseCXX11AttributeSpecifierInternal()
4862 Diag(Tok.getLocation(), diag::err_expected) << tok::colon; in ParseCXX11AttributeSpecifierInternal()
[all …]
H A DParseOpenACC.cpp358 P.Diag(P.getCurToken(), diag::err_expected) << tok::identifier; in expectIdentifierOrKeyword()
379 P.Diag(SecondTok, diag::err_expected) << tok::identifier; in ParseOpenACCEnterExitDataDirective()
1239 Diag(Tok, diag::err_expected) << tok::identifier; in ParseOpenACCIDExpression()
1408 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseOpenACCDirective()
H A DParsePragma.cpp943 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured()
2003 diag::err_expected, Attrs, in HandlePragmaAttribute()
2029 diag::err_expected, Attrs, in HandlePragmaAttribute()
3002 PP.Diag(FloatControlLoc, diag::err_expected) << tok::l_paren; in HandlePragma()
3123 PP.Diag(DetectMismatchLoc, diag::err_expected) << tok::l_paren; in HandlePragma()
3146 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in HandlePragma()
3329 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::l_paren; in HandlePragma()
3402 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in HandlePragma()
3534 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; in ParseLoopHintValue()
3642 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::l_paren; in HandlePragma()
[all …]
H A DParser.cpp132 if (DiagID == diag::err_expected) in ExpectAndConsume()
154 if (DiagID == diag::err_expected) in ExpectAndConsume()
234 Diag(Tok, diag::err_expected) << tok::identifier; in expectIdentifier()
2419 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsExternalDeclaration()
2806 P.Diag(P.Tok, diag::err_expected) << Close; in diagnoseMissingClose()
H A DParseDecl.cpp1312 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseAvailabilityAttribute()
1674 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseObjCBridgeRelatedAttribute()
1706 Diag(Tok, diag::err_expected) << tok::comma; in ParseObjCBridgeRelatedAttribute()
1717 Diag(Tok, diag::err_expected) << tok::r_paren; in ParseObjCBridgeRelatedAttribute()
1744 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseSwiftNewTypeAttribute()
1787 Diag(Tok, diag::err_expected) << tok::identifier; in ParseTypeTagForDatatypeAttribute()
1809 Diag(Tok, diag::err_expected) << tok::identifier; in ParseTypeTagForDatatypeAttribute()
4159 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseDeclarationSpecifiers()
5161 Diag(Tok, diag::err_expected) << tok::identifier; in ParseStructUnionBody()
5301 Diag(Tok, diag::err_expected) << tok::identifier; in ParseEnumSpecifier()
[all …]
H A DParseInit.cpp593 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsBraceInitializer()
H A DParseExprCXX.cpp198 Diag(ConsumeToken(), diag::err_expected) << tok::identifier; in ParseOptionalCXXScopeSpecifier()
462 Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected) in ParseOptionalCXXScopeSpecifier()
2867 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseUnqualifiedIdOperator()
4223 Diag(Tok.getLocation(), diag::err_expected) << tok::comma; in ParseBuiltinBitCast()
H A DParseOpenMP.cpp402 Diag(Tok.getLocation(), diag::err_expected) << "'initializer'"; in ParseOpenMPDeclareReductionDirective()
2974 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList()
2987 Diag(Tok, diag::err_expected) << tok::identifier; in ParseOpenMPSimpleVarList()
4911 Diag(Tok, diag::err_expected) << tok::l_paren; in ParseOpenMPExprListClause()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmanipulate_user_buffer.c44 static int err_expected = 0; variable
115 err_expected = 1; in parse_options()
180 if (err_expected) in write_thread()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp891 Diag(Tok, diag::err_expected) << tok::r_paren; in HandlePragmaHdrstop()
2014 PP.Diag(Tok, diag::err_expected) << "("; in HandleMacroAnnotationPragma()
2020 PP.Diag(Tok, diag::err_expected) << tok::identifier; in HandleMacroAnnotationPragma()
2039 PP.Diag(Tok, diag::err_expected) << ")"; in HandleMacroAnnotationPragma()
2102 PP.Diag(Tok, diag::err_expected) << "("; in HandlePragma()
2108 PP.Diag(Tok, diag::err_expected) << tok::identifier; in HandlePragma()
2120 PP.Diag(Tok, diag::err_expected) << ")"; in HandlePragma()
H A DLiteralSupport.cpp351 diag::err_expected) in ProcessCharEscape()
524 diag::err_expected) in ProcessNumericUCNEscape()
H A DPPExpressions.cpp816 PP.Diag(PeekTok.getLocation(), diag::err_expected) in EvaluateDirectiveSubExpr()
H A DPreprocessor.cpp1028 Diag(FilenameTok.getLocation(), diag::err_expected) << tok::greater; in LexHeaderName()
H A DPPDirectives.cpp3633 Diag(CurTok, diag::err_expected) << Expected; in LexEmbedParameters()
3641 Diag(CurTok, diag::err_expected) << Kind; in LexEmbedParameters()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h478 bool expectAndConsume(unsigned DiagID = diag::err_expected,
H A DParser.h1111 unsigned Diag = diag::err_expected,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCommonKinds.td88 def err_expected : Error<"expected %0">;