Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp487 const char *&PrevSpec, in BadSpecifier() argument
490 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier()
646 const char *&PrevSpec, in SetStorageClassSpec() argument
665 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
672 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
684 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
687 PrevSpec, DiagID, Policy); in SetStorageClassSpec()
699 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec()
708 const char *&PrevSpec, in SetStorageClassSpecThread() argument
711 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread()
[all …]
H A DSemaDecl.cpp5580 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local
5597 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion()
5611 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion()
14516 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local
14518 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
15617 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local
15619 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
H A DSemaDeclCXX.cpp3540 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
3543 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
3549 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
3552 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp2175 const char *PrevSpec; in ParseDeclGroup() local
2180 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup()
2855 const char *PrevSpec; in ParseImplicitInt() local
2857 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2992 const char *PrevSpec; in ParseImplicitInt() local
2994 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
3380 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local
3410 isInvalid = DS.SetTypeSpecType(ImageTypeSpec, Loc, PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
3624 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers()
3699 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
[all …]
H A DParseExprCXX.cpp1142 const char *PrevSpec = nullptr; in addStaticToLambdaDeclSpecifier() local
1145 PrevSpec, DiagID, in addStaticToLambdaDeclSpecifier()
1147 assert(PrevSpec == nullptr && DiagID == 0 && in addStaticToLambdaDeclSpecifier()
1159 const char *PrevSpec = nullptr; in addConstexprToLambdaDeclSpecifier() local
1161 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
1163 assert(PrevSpec == nullptr && DiagID == 0 && in addConstexprToLambdaDeclSpecifier()
1173 const char *PrevSpec = nullptr; in addConstevalToLambdaDeclSpecifier() local
1175 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
1178 P.Diag(ConstevalLoc, DiagID) << PrevSpec; in addConstevalToLambdaDeclSpecifier()
2060 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local
[all …]
H A DParseDeclCXX.cpp1116 const char *PrevSpec = nullptr; in ParseDecltypeSpecifier() local
1121 PrevSpec, DiagID, Result.get(), Policy) in ParseDecltypeSpecifier()
1123 PrevSpec, DiagID, Policy)) { in ParseDecltypeSpecifier()
1124 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
1163 const char *PrevSpec; in ParsePackIndexingType() local
1180 DS.SetTypeSpecType(DeclSpec::TST_typename_pack_indexing, StartLoc, PrevSpec, in ParsePackIndexingType()
1214 DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, PrevSpec, DiagID, Type, in ParsePackIndexingType()
1277 const char *PrevSpec = nullptr; in MaybeParseTypeTransformTypeSpecifier() local
1279 if (DS.SetTypeSpecType(TypeTransformTST, StartLoc, PrevSpec, DiagID, in MaybeParseTypeTransformTypeSpecifier()
1282 Diag(StartLoc, DiagID) << PrevSpec; in MaybeParseTypeTransformTypeSpecifier()
[all …]
H A DParser.cpp1160 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local
1162 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1164 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
1231 const char *PrevSpec; in ParseFunctionDefinition() local
1236 PrevSpec, DiagID, in ParseFunctionDefinition()
H A DParseExpr.cpp977 const char *PrevSpec = nullptr; in ParseCastExpression() local
979 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression()
1269 const char *PrevSpec = nullptr; in ParseCastExpression() local
1272 PrevSpec, DiagID, Type, in ParseCastExpression()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h721 const char *&PrevSpec, unsigned &DiagID,
724 const char *&PrevSpec, unsigned &DiagID);
726 const char *&PrevSpec, unsigned &DiagID,
728 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec,
731 const char *&PrevSpec, unsigned &DiagID);
732 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
734 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
737 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, in SetTypeSpecType() argument
742 return SetTypeSpecType(T, Loc, PrevSpec, DiagID, Rep.get(), Policy); in SetTypeSpecType()
744 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1448 bool TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, in TryAltiVecToken() argument
1459 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken()
1476 const char *&PrevSpec, unsigned &DiagID,