Update code as per Apple Style Guide

whitelist -> allowlist
blacklist -> denylist
This commit is contained in:
Meghana Gupta
2020-07-24 11:08:22 -07:00
parent 115244f254
commit b34791a0a0
13 changed files with 24 additions and 24 deletions

View File

@@ -1596,7 +1596,7 @@ SDKContext::shouldIgnore(Decl *D, const Decl* Parent) const {
if (checkingABI()) {
if (auto *VD = dyn_cast<ValueDecl>(D)) {
// Private vars with fixed binary orders can have ABI-impact, so we should
// whitelist them if we're checking ABI.
// allowlist them if we're checking ABI.
if (getFixedBinaryOrder(VD).hasValue())
return false;
// Typealias should have no impact on ABI.