Searched refs:prevNullability (Results 1 – 2 of 2) sorted by relevance
4205 auto prevNullability = prevType->getNullability(S.Context); in mergeTypeNullabilityForRedecl() local4208 if (nullability.hasValue() == prevNullability.hasValue()) { in mergeTypeNullabilityForRedecl()4214 if (*nullability == *prevNullability) in mergeTypeNullabilityForRedecl()4220 << DiagNullabilityKind(*prevNullability, prevUsesCSKeyword); in mergeTypeNullabilityForRedecl()4230 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl()
4527 auto prevNullability = prevType->getNullability(S.Context); in mergeTypeNullabilityForRedecl() local4530 if (nullability.hasValue() == prevNullability.hasValue()) { in mergeTypeNullabilityForRedecl()4536 if (*nullability == *prevNullability) in mergeTypeNullabilityForRedecl()4542 << DiagNullabilityKind(*prevNullability, prevUsesCSKeyword); in mergeTypeNullabilityForRedecl()4552 AttributedType::getNullabilityAttrKind(*prevNullability), in mergeTypeNullabilityForRedecl()