case NullabilityKind::Unspecified:
return attr_null_unspecified;
}
+ llvm_unreachable("Unknown nullability kind.");
}
/// Strip off the top-level nullability annotation on the given
case Type::Atomic:
return false;
}
+ llvm_unreachable("bad type kind!");
}
llvm::Optional<NullabilityKind> AttributedType::getImmediateNullability() const {
case NullabilityKind::Unspecified:
return "__null_unspecified";
}
+ llvm_unreachable("Unknown nullability kind.");
}
Ident___null_unspecified = PP.getIdentifierInfo("__null_unspecified");
return Ident___null_unspecified;
}
+ llvm_unreachable("Unknown nullability kind.");
}
/// Retrieve the identifier "NSError".