Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DDeclSpec.cpp356 const char *&PrevSpec, in BadSpecifier() argument
359 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier()
470 const char *&PrevSpec, in SetStorageClassSpec() argument
488 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
495 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
510 PrevSpec, DiagID, Policy); in SetStorageClassSpec()
522 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec()
531 const char *&PrevSpec, in SetStorageClassSpecThread() argument
534 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread()
[all …]
DSemaDecl.cpp3723 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local
3738 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion()
3752 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion()
9025 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local
9027 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
9701 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local
9703 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
DSemaTemplate.cpp2623 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName, in ActOnVarTemplateSpecialization() local
2625 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
2626 D.setRedeclaration(CheckVariableDeclaration(Specialization, PrevSpec)); in ActOnVarTemplateSpecialization()
DSemaDeclCXX.cpp2035 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2038 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
2044 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2047 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
/external/clang/lib/Parse/
DParseDecl.cpp2184 const char *PrevSpec; in ParseImplicitInt() local
2186 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2447 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local
2602 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers()
2660 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2679 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2737 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers()
2780 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2834 isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
2868 PrevSpec, DiagID, Policy); in ParseDeclarationSpecifiers()
[all …]
DParseExprCXX.cpp1720 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local
1736 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
1757 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1760 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1763 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1766 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
1769 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
1772 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1775 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1778 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
[all …]
DParseDeclCXX.cpp823 const char *PrevSpec = nullptr; in ParseDecltypeSpecifier() local
828 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
830 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
832 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
879 const char *PrevSpec = nullptr; in ParseUnderlyingTypeSpecifier() local
881 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
884 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier()
1029 const char *PrevSpec = nullptr; in ParseBaseTypeSpecifier() local
1031 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier()
1642 const char *PrevSpec = nullptr; in ParseClassSpecifier() local
[all …]
DParser.cpp865 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local
867 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
869 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
933 const char *PrevSpec; in ParseFunctionDefinition() local
938 PrevSpec, DiagID, in ParseFunctionDefinition()
DParseExpr.cpp787 const char *PrevSpec = nullptr; in ParseCastExpression() local
789 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression()
954 const char *PrevSpec = nullptr; in ParseCastExpression() local
957 PrevSpec, DiagID, Type, in ParseCastExpression()
/external/clang/include/clang/Sema/
DDeclSpec.h600 const char *&PrevSpec, unsigned &DiagID,
603 const char *&PrevSpec, unsigned &DiagID);
604 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec,
606 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec,
608 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec,
610 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
612 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
615 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
619 SourceLocation TagNameLoc, const char *&PrevSpec,
623 SourceLocation TagNameLoc, const char *&PrevSpec,
[all …]
/external/clang/include/clang/Parse/
DParser.h603 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument
611 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken()
625 const char *&PrevSpec, unsigned &DiagID,