Lines Matching refs:DiagID
31 unsigned DiagID) { in Diag() argument
32 return D.Report(Loc, DiagID); in Diag()
315 unsigned &DiagID) { in BadSpecifier() argument
317 DiagID = (TNew == TPrev ? diag::ext_duplicate_declspec in BadSpecifier()
408 unsigned &DiagID, in SetStorageClassSpec() argument
419 DiagID = diag::err_not_opencl_storage_class_specifier; in SetStorageClassSpec()
434 return BadSpecifier(S, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec()
444 unsigned &DiagID) { in SetStorageClassSpecThread() argument
447 DiagID = diag::ext_duplicate_declspec; in SetStorageClassSpecThread()
460 unsigned &DiagID) { in SetTypeSpecWidth() argument
467 return BadSpecifier(W, (TSW)TypeSpecWidth, PrevSpec, DiagID); in SetTypeSpecWidth()
472 DiagID = diag::warn_vector_long_decl_spec_combination; in SetTypeSpecWidth()
480 unsigned &DiagID) { in SetTypeSpecComplex() argument
482 return BadSpecifier(C, (TSC)TypeSpecComplex, PrevSpec, DiagID); in SetTypeSpecComplex()
490 unsigned &DiagID) { in SetTypeSpecSign() argument
492 return BadSpecifier(S, (TSS)TypeSpecSign, PrevSpec, DiagID); in SetTypeSpecSign()
500 unsigned &DiagID, in SetTypeSpecType() argument
502 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep); in SetTypeSpecType()
508 unsigned &DiagID, in SetTypeSpecType() argument
514 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
527 unsigned &DiagID, in SetTypeSpecType() argument
533 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
546 unsigned &DiagID, in SetTypeSpecType() argument
548 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned); in SetTypeSpecType()
554 unsigned &DiagID, in SetTypeSpecType() argument
561 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
574 unsigned &DiagID) { in SetTypeSpecType() argument
579 DiagID = diag::err_invalid_decl_spec_combination; in SetTypeSpecType()
592 DiagID = diag::err_invalid_vector_decl_spec; in SetTypeSpecType()
599 const char *&PrevSpec, unsigned &DiagID) { in SetTypeAltiVecVector() argument
602 DiagID = diag::err_invalid_vector_decl_spec_combination; in SetTypeAltiVecVector()
611 const char *&PrevSpec, unsigned &DiagID) { in SetTypeAltiVecPixel() argument
615 DiagID = diag::err_invalid_pixel_decl_spec_combination; in SetTypeAltiVecPixel()
633 unsigned &DiagID, const LangOptions &Lang) { in SetTypeQual() argument
636 return BadSpecifier(T, T, PrevSpec, DiagID); in SetTypeQual()
649 unsigned &DiagID) { in SetFunctionSpecInline() argument
657 unsigned &DiagID) { in SetFunctionSpecVirtual() argument
665 unsigned &DiagID) { in SetFunctionSpecExplicit() argument
673 unsigned &DiagID) { in SetFriendSpec() argument
676 DiagID = diag::ext_duplicate_declspec; in SetFriendSpec()
686 unsigned &DiagID) { in SetConstexprSpec() argument