Home | History | Annotate | Download | only in Sema

Lines Matching defs:nullability

639     // nullability.
4195 /// Merge type nullability from for a redeclaration of the same entity,
4203 // Determine the nullability of both types.
4204 auto nullability = type->getNullability(S.Context);
4207 // Easy case: both have nullability.
4208 if (nullability.hasValue() == prevNullability.hasValue()) {
4209 // Neither has nullability; continue.
4210 if (!nullability)
4214 if (*nullability == *prevNullability)
4217 // Complain about mismatched nullability.
4219 << DiagNullabilityKind(*nullability, usesCSKeyword)
4224 // If it's the redeclaration that has nullability, don't change anything.
4225 if (nullability)
4228 // Otherwise, provide the result with the same nullability.
4249 // Merge nullability of the result type.
4267 // Merge nullability.