Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DDeclSpec.cpp382 const char *&PrevSpec, in BadSpecifier() argument
385 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier()
503 const char *&PrevSpec, in SetStorageClassSpec() argument
521 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
528 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec()
540 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
543 PrevSpec, DiagID, Policy); in SetStorageClassSpec()
555 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec()
564 const char *&PrevSpec, in SetStorageClassSpecThread() argument
567 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread()
[all …]
DSemaDecl.cpp4265 const char *PrevSpec = nullptr; in BuildAnonymousStructOrUnion() local
4280 PrevSpec, DiagID, Policy); in BuildAnonymousStructOrUnion()
4294 PrevSpec, DiagID, Context.getPrintingPolicy()); in BuildAnonymousStructOrUnion()
10273 const char *PrevSpec; in ActOnCXXForRangeIdentifier() local
10275 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID, in ActOnCXXForRangeIdentifier()
11056 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local
11058 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec, in ActOnFinishKNRParamDeclarations()
DSemaTemplate.cpp2727 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName, in ActOnVarTemplateSpecialization() local
2729 PrevSpec.addDecl(PrevDecl); in ActOnVarTemplateSpecialization()
2730 D.setRedeclaration(CheckVariableDeclaration(Specialization, PrevSpec)); in ActOnVarTemplateSpecialization()
DSemaDeclCXX.cpp2110 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2113 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
2119 const char *PrevSpec; in ActOnCXXMemberDeclarator() local
2122 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
/external/clang/lib/Parse/
DParseDecl.cpp1755 const char *PrevSpec; in ParseDeclGroup() local
1760 bool Fixit = !DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID); in ParseDeclGroup()
2298 const char *PrevSpec; in ParseImplicitInt() local
2300 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2428 const char *PrevSpec; in ParseImplicitInt() local
2430 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T, in ParseImplicitInt()
2694 const char *PrevSpec = nullptr; in ParseDeclarationSpecifiers() local
2861 PrevSpec, DiagID, T, Policy); in ParseDeclarationSpecifiers()
2919 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
2938 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers()
[all …]
DParseExprCXX.cpp1100 const char *PrevSpec = nullptr; in addConstexprToLambdaDeclSpecifier() local
1102 DS.SetConstexprSpec(ConstexprLoc, PrevSpec, DiagID); in addConstexprToLambdaDeclSpecifier()
1103 assert(PrevSpec == nullptr && DiagID == 0 && in addConstexprToLambdaDeclSpecifier()
1877 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local
1893 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
1907 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1910 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1913 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID, Policy); in ParseCXXSimpleTypeSpecifier()
1916 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
1919 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
[all …]
DParseDeclCXX.cpp853 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()
1058 const char *PrevSpec = nullptr; in ParseBaseTypeSpecifier() local
1060 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type, in ParseBaseTypeSpecifier()
1781 const char *PrevSpec = nullptr; in ParseClassSpecifier() local
[all …]
DParser.cpp917 const char *PrevSpec = nullptr; in ParseDeclOrFunctionDefInternal() local
919 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
921 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
985 const char *PrevSpec; in ParseFunctionDefinition() local
990 PrevSpec, DiagID, in ParseFunctionDefinition()
DParseExpr.cpp934 const char *PrevSpec = nullptr; in ParseCastExpression() local
936 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ, in ParseCastExpression()
1140 const char *PrevSpec = nullptr; in ParseCastExpression() local
1143 PrevSpec, DiagID, Type, in ParseCastExpression()
/external/clang/include/clang/Sema/
DDeclSpec.h621 const char *&PrevSpec, unsigned &DiagID,
624 const char *&PrevSpec, unsigned &DiagID);
625 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec,
627 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec,
629 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec,
631 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
633 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
636 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
640 SourceLocation TagNameLoc, const char *&PrevSpec,
644 SourceLocation TagNameLoc, const char *&PrevSpec,
[all …]
/external/clang/include/clang/Parse/
DParser.h618 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument
628 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken()
642 const char *&PrevSpec, unsigned &DiagID,