Lines Matching refs:PrevSpec
1698 const char *PrevSpec;
1700 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T);
1852 const char *PrevSpec = 0;
1984 PrevSpec, DiagID, T);
2034 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2048 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2108 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid))
2129 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
2210 PrevSpec, DiagID);
2216 PrevSpec, DiagID);
2220 Loc, PrevSpec, DiagID);
2226 PrevSpec, DiagID);
2232 PrevSpec, DiagID);
2237 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_auto, Loc, PrevSpec,
2241 PrevSpec, DiagID);
2245 PrevSpec, DiagID);
2249 PrevSpec, DiagID);
2252 isInvalid = DS.SetStorageClassSpecThread(Loc, PrevSpec, DiagID);
2257 isInvalid = DS.SetFunctionSpecInline(Loc, PrevSpec, DiagID);
2260 isInvalid = DS.SetFunctionSpecVirtual(Loc, PrevSpec, DiagID);
2263 PrevSpec, DiagID);
2276 isInvalid = DS.SetFriendSpec(Loc, PrevSpec, DiagID);
2278 PrevSpec = ""; // not actually used by the diagnostic
2286 isInvalid = DS.setModulePrivateSpec(Loc, PrevSpec, DiagID);
2291 isInvalid = DS.SetConstexprSpec(Loc, PrevSpec, DiagID);
2296 isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec,
2301 isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec,
2304 isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec,
2308 isInvalid = DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec,
2312 isInvalid = DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec,
2316 isInvalid = DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec,
2320 isInvalid = DS.SetTypeSpecComplex(DeclSpec::TSC_complex, Loc, PrevSpec,
2324 isInvalid = DS.SetTypeSpecComplex(DeclSpec::TSC_imaginary, Loc, PrevSpec,
2328 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec,
2332 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec,
2336 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec,
2340 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_int128, Loc, PrevSpec,
2344 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_half, Loc, PrevSpec,
2348 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float, Loc, PrevSpec,
2352 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_double, Loc, PrevSpec,
2356 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_wchar, Loc, PrevSpec,
2360 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char16, Loc, PrevSpec,
2364 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_char32, Loc, PrevSpec,
2372 PrevSpec = ""; // Not used by the diagnostic.
2378 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_bool, Loc, PrevSpec,
2383 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal32, Loc, PrevSpec,
2387 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal64, Loc, PrevSpec,
2391 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_decimal128, Loc, PrevSpec,
2395 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID);
2398 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID);
2402 PrevSpec, DiagID);
2424 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const, Loc, PrevSpec, DiagID,
2428 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID,
2432 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID,
2495 assert(PrevSpec && "Method did not return previous specifier!");
2500 << PrevSpec << FixItHint::CreateRemoval(Tok.getLocation());
2502 Diag(Tok, DiagID) << PrevSpec;
2960 const char *PrevSpec = 0;
2987 PrevSpec, DiagID, Type.get()))
2988 Diag(StartLoc, DiagID) << PrevSpec;
3018 PrevSpec, DiagID, TagDecl, Owned))
3019 Diag(StartLoc, DiagID) << PrevSpec;
3566 const char *PrevSpec = 0;
3576 isInvalid = DS.SetTypeQual(DeclSpec::TQ_const , Loc, PrevSpec, DiagID,
3580 isInvalid = DS.SetTypeQual(DeclSpec::TQ_volatile, Loc, PrevSpec, DiagID,
3584 isInvalid = DS.SetTypeQual(DeclSpec::TQ_restrict, Loc, PrevSpec, DiagID,
3639 assert(PrevSpec && "Method did not return previous specifier!");
3640 Diag(Tok, DiagID) << PrevSpec;
4740 const char *PrevSpec = 0;
4743 if (DS.SetTypeSpecType(DeclSpec::TST_typeofType, StartLoc, PrevSpec,
4745 Diag(StartLoc, DiagID) << PrevSpec;
4762 const char *PrevSpec = 0;
4765 if (DS.SetTypeSpecType(DeclSpec::TST_typeofExpr, StartLoc, PrevSpec,
4767 Diag(StartLoc, DiagID) << PrevSpec;
4798 const char *PrevSpec = 0;
4800 if (DS.SetTypeSpecType(DeclSpec::TST_atomic, StartLoc, PrevSpec,
4802 Diag(StartLoc, DiagID) << PrevSpec;
4835 const char *&PrevSpec, unsigned &DiagID,
4851 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID);
4855 isInvalid = DS.SetTypeAltiVecVector(true, Loc, PrevSpec, DiagID);
4864 isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID);