/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 378 const char *&PrevSpec, in BadSpecifier() argument 381 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier() 493 const char *&PrevSpec, in SetStorageClassSpec() argument 511 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 518 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 530 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec() 533 PrevSpec, DiagID, Policy); in SetStorageClassSpec() 545 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec() 554 const char *&PrevSpec, in SetStorageClassSpecThread() argument 557 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread() [all …]
|
D | SemaDecl.cpp | 4138 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local 4153 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion() 4167 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion() 9923 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local 9925 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier() 10646 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local 10648 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
|
D | SemaTemplate.cpp | 2689 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName, in ActOnVarTemplateSpecialization() local 2691 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization() 2692 D.setRedeclaration(CheckVariableDeclaration(Specialization, PrevSpec)); in ActOnVarTemplateSpecialization()
|
D | SemaDeclCXX.cpp | 2107 const char *PrevSpec; in ActOnCXXMemberDeclarator() local 2110 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 2116 const char *PrevSpec; in ActOnCXXMemberDeclarator() local 2119 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 1719 const char *PrevSpec; in ParseDeclGroup() local 1724 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup() 2373 const char *PrevSpec; in ParseImplicitInt() local 2375 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt() 2639 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local 2806 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers() 2865 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 2884 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 2936 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers() 2947 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() [all …]
|
D | ParseExprCXX.cpp | 1801 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local 1817 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 1831 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() 1834 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() 1837 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() 1840 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1843 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1846 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() 1849 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() 1852 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 853 const char *PrevSpec = nullptr; in ParseDecltypeSpecifier() local 858 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier() 860 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier() 862 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 909 const char *PrevSpec = nullptr; in ParseUnderlyingTypeSpecifier() local 911 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier() 914 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier() 1059 const char *PrevSpec = nullptr; in ParseBaseTypeSpecifier() local 1061 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier() 1766 const char *PrevSpec = nullptr; in ParseClassSpecifier() local [all …]
|
D | Parser.cpp | 904 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local 906 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal() 908 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 972 const char *PrevSpec; in ParseFunctionDefinition() local 977 PrevSpec, DiagID, in ParseFunctionDefinition()
|
D | ParseExpr.cpp | 920 const char *PrevSpec = nullptr; in ParseCastExpression() local 922 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression() 1117 const char *PrevSpec = nullptr; in ParseCastExpression() local 1120 PrevSpec, DiagID, Type, in ParseCastExpression()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 607 const char *&PrevSpec, unsigned &DiagID, 610 const char *&PrevSpec, unsigned &DiagID); 611 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, 613 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, 615 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, 617 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 619 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 622 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 626 SourceLocation TagNameLoc, const char *&PrevSpec, 630 SourceLocation TagNameLoc, const char *&PrevSpec, [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 608 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument 618 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken() 632 const char *&PrevSpec, unsigned &DiagID,
|