Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DDeclSpec.cpp381 const char *&PrevSpec, in BadSpecifier() argument
384 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier()
495 const char *&PrevSpec, in SetStorageClassSpec() argument
513 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
520 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
532 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
535 PrevSpec, DiagID, Policy); in SetStorageClassSpec()
547 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec()
556 const char *&PrevSpec, in SetStorageClassSpecThread() argument
559 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread()
[all …]
DSemaDecl.cpp3963 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local
3978 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion()
3992 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion()
9489 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local
9491 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
10175 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local
10177 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
DSemaTemplate.cpp2641 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName, in ActOnVarTemplateSpecialization() local
2643 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
2644 D.setRedeclaration(CheckVariableDeclaration(Specialization, PrevSpec)); in ActOnVarTemplateSpecialization()
DSemaDeclCXX.cpp2127 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2130 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
2136 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2139 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
/external/clang/lib/Parse/
DParseDecl.cpp1653 const char *PrevSpec; in ParseDeclGroup() local
1658 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup()
2309 const char *PrevSpec; in ParseImplicitInt() local
2311 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2577 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local
2732 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers()
2790 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2809 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2867 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers()
2910 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
[all …]
DParseExprCXX.cpp1786 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local
1802 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
1823 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1826 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1829 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1832 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
1835 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
1838 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1841 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1844 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
[all …]
DParseDeclCXX.cpp845 const char *PrevSpec = nullptr; in ParseDecltypeSpecifier() local
850 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
852 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
854 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier()
901 const char *PrevSpec = nullptr; in ParseUnderlyingTypeSpecifier() local
903 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
906 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier()
1051 const char *PrevSpec = nullptr; in ParseBaseTypeSpecifier() local
1053 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier()
1729 const char *PrevSpec = nullptr; in ParseClassSpecifier() local
[all …]
DParser.cpp870 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local
872 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
874 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
938 const char *PrevSpec; in ParseFunctionDefinition() local
943 PrevSpec, DiagID, in ParseFunctionDefinition()
DParseExpr.cpp894 const char *PrevSpec = nullptr; in ParseCastExpression() local
896 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression()
1076 const char *PrevSpec = nullptr; in ParseCastExpression() local
1079 PrevSpec, DiagID, Type, in ParseCastExpression()
/external/clang/include/clang/Sema/
DDeclSpec.h617 const char *&PrevSpec, unsigned &DiagID,
620 const char *&PrevSpec, unsigned &DiagID);
621 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec,
623 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec,
625 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec,
627 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
629 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
632 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
636 SourceLocation TagNameLoc, const char *&PrevSpec,
640 SourceLocation TagNameLoc, const char *&PrevSpec,
[all …]
/external/clang/include/clang/Parse/
DParser.h598 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument
606 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken()
620 const char *&PrevSpec, unsigned &DiagID,