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

/external/clang/lib/Sema/
H A DDeclSpec.cpp356 const char *&PrevSpec,
359 PrevSpec = DeclSpec::getSpecifierName(TPrev);
470 const char *&PrevSpec,
488 PrevSpec = getSpecifierName(SC);
495 PrevSpec = getSpecifierName(SC);
507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy);
510 PrevSpec, DiagID, Policy);
522 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID);
531 const char *&PrevSpec,
534 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagI
355 BadSpecifier(T TNew, T TPrev, const char *&PrevSpec, unsigned &DiagID, bool IsExtension = true) argument
469 SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
530 SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
544 SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
565 SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
575 SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
585 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument
593 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument
614 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep, const PrintingPolicy &Policy) argument
634 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument
642 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument
664 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
691 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
704 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
719 SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
742 SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) argument
767 setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
781 setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
793 setFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
808 setFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
823 setFunctionSpecNoreturn(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
838 SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
856 setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
868 SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
1191 SetSpecifier(Specifier VS, SourceLocation Loc, const char *&PrevSpec) argument
[all...]
H A DSemaDecl.cpp3723 const char *PrevSpec = nullptr; local
3738 PrevSpec, DiagID, Policy);
3752 PrevSpec, DiagID, Context.getPrintingPolicy());
9025 const char *PrevSpec; local
9027 DS.SetTypeSpecType(DeclSpec::TST_auto, IdentLoc, PrevSpec, DiagID,
9701 const char* PrevSpec; // unused local
9703 DS.SetTypeSpecType(DeclSpec::TST_int, FTI.Params[i].IdentLoc, PrevSpec,
H A DSemaTemplate.cpp2623 LookupResult PrevSpec(*this, GetNameForDeclarator(D), LookupOrdinaryName,
2625 PrevSpec.addDecl(PrevDecl);
2626 D.setRedeclaration(CheckVariableDeclaration(Specialization, PrevSpec));
H A DSemaDeclCXX.cpp2035 const char *PrevSpec; local
2038 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts());
2044 const char *PrevSpec; local
2047 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID,
/external/clang/lib/Parse/
H A DParseDecl.cpp2184 const char *PrevSpec; local
2186 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T,
2447 const char *PrevSpec = nullptr; local
2602 PrevSpec, DiagID, T, Policy);
2660 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2679 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2737 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid))
2780 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2834 isInvalid = DS.setFunctionSpecForceInline(Loc, PrevSpec, DiagID);
2868 PrevSpec, DiagI
3706 const char *PrevSpec = nullptr; local
4386 const char *PrevSpec = nullptr; local
5712 const char *PrevSpec = nullptr; local
5735 const char *PrevSpec = nullptr; local
5771 const char *PrevSpec = nullptr; local
5812 TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument
[all...]
H A DParseExprCXX.cpp1720 const char *PrevSpec; local
1736 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID,
1757 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID, Policy);
1760 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID, Policy);
1763 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID, Policy);
1766 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID);
1769 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID);
1772 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID, Policy);
1775 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID, Policy);
1778 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagI
[all...]
H A DParseDeclCXX.cpp823 const char *PrevSpec = nullptr; local
828 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec,
830 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec,
832 Diag(StartLoc, DiagID) << PrevSpec;
879 const char *PrevSpec = nullptr; local
881 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec,
884 Diag(StartLoc, DiagID) << PrevSpec;
1029 const char *PrevSpec = nullptr; local
1031 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type,
1642 const char *PrevSpec local
1889 const char *PrevSpec = nullptr; local
[all...]
H A DParser.cpp865 const char *PrevSpec = nullptr; local
867 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID,
869 Diag(AtLoc, DiagID) << PrevSpec;
933 const char *PrevSpec; local
938 PrevSpec, DiagID,
H A DParseExpr.cpp787 const char *PrevSpec = nullptr; local
789 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ,
954 const char *PrevSpec = nullptr; local
957 PrevSpec, DiagID, Type,
/external/clang/include/clang/Sema/
H A DDeclSpec.h592 /// already set), they return true and set PrevSpec and DiagID
594 /// Diag(Loc, DiagID) << PrevSpec;
600 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,
[all...]
/external/clang/include/clang/Parse/
H A DParser.h603 const char *&PrevSpec, unsigned &DiagID,
611 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid);
625 const char *&PrevSpec, unsigned &DiagID,
602 TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument

Completed in 4839 milliseconds