/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseHLSL.cpp | 58 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 D | ParseStmtAsm.cpp | 516 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 D | ParseCXXInlineMethods.cpp | 988 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 D | ParseStmt.cpp | 605 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 D | ParseObjc.cpp | 291 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 D | ParseTemplate.cpp | 327 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 D | ParseExpr.cpp | 550 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 D | ParseDeclCXX.cpp | 139 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 D | ParseOpenACC.cpp | 358 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 D | ParsePragma.cpp | 943 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 D | Parser.cpp | 132 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 D | ParseDecl.cpp | 1312 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 D | ParseInit.cpp | 593 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseMicrosoftIfExistsBraceInitializer()
|
H A D | ParseExprCXX.cpp | 198 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 D | ParseOpenMP.cpp | 402 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 D | manipulate_user_buffer.c | 44 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 D | Pragma.cpp | 891 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 D | LiteralSupport.cpp | 351 diag::err_expected) in ProcessCharEscape() 524 diag::err_expected) in ProcessNumericUCNEscape()
|
H A D | PPExpressions.cpp | 816 PP.Diag(PeekTok.getLocation(), diag::err_expected) in EvaluateDirectiveSubExpr()
|
H A D | Preprocessor.cpp | 1028 Diag(FilenameTok.getLocation(), diag::err_expected) << tok::greater; in LexHeaderName()
|
H A D | PPDirectives.cpp | 3633 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 D | RAIIObjectsForParser.h | 478 bool expectAndConsume(unsigned DiagID = diag::err_expected,
|
H A D | Parser.h | 1111 unsigned Diag = diag::err_expected,
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DiagnosticCommonKinds.td | 88 def err_expected : Error<"expected %0">;
|