/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 488 const char *&PrevSpec, in BadSpecifier() argument 491 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier() 643 const char *&PrevSpec, in SetStorageClassSpec() argument 662 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 669 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 681 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec() 684 PrevSpec, DiagID, Policy); in SetStorageClassSpec() 696 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec() 705 const char *&PrevSpec, in SetStorageClassSpecThread() argument 708 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread() [all …]
|
H A D | SemaDecl.cpp | 5466 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local 5483 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion() 5497 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion() 14155 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local 14157 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier() 15181 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local 15183 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
|
H A D | SemaDeclCXX.cpp | 3427 const char *PrevSpec; in ActOnCXXMemberDeclarator() local 3430 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 3436 const char *PrevSpec; in ActOnCXXMemberDeclarator() local 3439 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 2339 const char *PrevSpec; in ParseDeclGroup() local 2344 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup() 3056 const char *PrevSpec; in ParseImplicitInt() local 3058 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt() 3193 const char *PrevSpec; in ParseImplicitInt() local 3195 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt() 3604 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local 3634 isInvalid = DS.SetTypeSpecType(ImageTypeSpec, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers() 3842 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers() 3917 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() [all …]
|
H A D | ParseExprCXX.cpp | 1285 const char *PrevSpec = nullptr; in addStaticToLambdaDeclSpecifier() local 1288 PrevSpec, DiagID, in addStaticToLambdaDeclSpecifier() 1290 assert(PrevSpec == nullptr && DiagID == 0 && in addStaticToLambdaDeclSpecifier() 1302 const char *PrevSpec = nullptr; in addConstexprToLambdaDeclSpecifier() local 1304 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1306 assert(PrevSpec == nullptr && DiagID == 0 && in addConstexprToLambdaDeclSpecifier() 1316 const char *PrevSpec = nullptr; in addConstevalToLambdaDeclSpecifier() local 1318 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier() 1321 P.Diag(ConstevalLoc, DiagID) << PrevSpec; in addConstevalToLambdaDeclSpecifier() 2336 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local [all …]
|
H A D | ParseDeclCXX.cpp | 1214 const char *PrevSpec = nullptr; in ParseDecltypeSpecifier() local 1219 PrevSpec, DiagID, Result.get(), Policy) in ParseDecltypeSpecifier() 1221 PrevSpec, DiagID, Policy)) { in ParseDecltypeSpecifier() 1222 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 1261 const char *PrevSpec; in ParsePackIndexingType() local 1278 DS.SetTypeSpecType(DeclSpec::TST_typename_pack_indexing, StartLoc, PrevSpec, in ParsePackIndexingType() 1312 DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, PrevSpec, DiagID, Type, in ParsePackIndexingType() 1375 const char *PrevSpec = nullptr; in MaybeParseTypeTransformTypeSpecifier() local 1377 if (DS.SetTypeSpecType(TypeTransformTST, StartLoc, PrevSpec, DiagID, in MaybeParseTypeTransformTypeSpecifier() 1380 Diag(StartLoc, DiagID) << PrevSpec; in MaybeParseTypeTransformTypeSpecifier() [all …]
|
H A D | Parser.cpp | 1222 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local 1224 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal() 1226 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 1307 const char *PrevSpec; in ParseFunctionDefinition() local 1312 PrevSpec, DiagID, in ParseFunctionDefinition()
|
H A D | ParseExpr.cpp | 1302 const char *PrevSpec = nullptr; in ParseCastExpression() local 1304 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression() 1595 const char *PrevSpec = nullptr; in ParseCastExpression() local 1598 PrevSpec, DiagID, Type, in ParseCastExpression()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 719 const char *&PrevSpec, unsigned &DiagID, 722 const char *&PrevSpec, unsigned &DiagID); 724 const char *&PrevSpec, unsigned &DiagID, 726 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, 729 const char *&PrevSpec, unsigned &DiagID); 730 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 732 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 735 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, in SetTypeSpecType() argument 740 return SetTypeSpecType(T, Loc, PrevSpec, DiagID, Rep.get(), Policy); in SetTypeSpecType() 742 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 966 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument 977 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken() 991 const char *&PrevSpec, unsigned &DiagID,
|