Lines Matching refs:DiagID

766                                                   unsigned &DiagID) {  in getCastAwayConstnessCastKind()  argument
774 DiagID = diag::err_bad_cxx_cast_qualifiers_away; in getCastAwayConstnessCastKind()
778 DiagID = diag::ext_bad_cxx_cast_qualifiers_away_incoherent; in getCastAwayConstnessCastKind()
1105 unsigned int DiagID = 0; in checkCastFunctionType() local
1110 DiagID = ID; in checkCastFunctionType()
1114 if (!DiagID) in checkCastFunctionType()
1138 if (DiagID == diag::warn_cast_function_type_strict) in checkCastFunctionType()
1139 return DiagID; in checkCastFunctionType()
1156 return DiagID; in checkCastFunctionType()
1173 return DiagID; in checkCastFunctionType()
1177 return DiagID; in checkCastFunctionType()
1183 return DiagID; in checkCastFunctionType()
1226 if (unsigned DiagID = checkCastFunctionType(Self, SrcExpr, DestType)) in CheckReinterpretCast() local
1227 Self.Diag(OpRange.getBegin(), DiagID) in CheckReinterpretCast()
2046 unsigned DiagID = IsDereference ? in CheckCompatibleReinterpretCast() local
2050 if (Diags.isIgnored(DiagID, Range.getBegin())) in CheckCompatibleReinterpretCast()
2090 Diag(Range.getBegin(), DiagID) << SrcType << DestType << Range; in CheckCompatibleReinterpretCast()
2663 unsigned DiagID = diag::err_typecheck_incompatible_address_space; in checkAddressSpaceCast() local
2675 Self.Diag(OpRange.getBegin(), DiagID) in checkAddressSpaceCast()
2686 DiagID = diag::ext_nested_pointer_qualifier_mismatch; in checkAddressSpaceCast()
2872 if (unsigned DiagID = checkCastFunctionType(Self, SrcExpr, DestType)) in CheckCXXCStyleCast() local
2873 Self.Diag(OpRange.getBegin(), DiagID) in CheckCXXCStyleCast()
3231 if (unsigned DiagID = checkCastFunctionType(Self, SrcExpr, DestType)) in CheckCStyleCast() local
3232 Self.Diag(OpRange.getBegin(), DiagID) << SrcType << DestType << OpRange; in CheckCStyleCast()