mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update code as per Apple Style Guide
whitelist -> allowlist blacklist -> denylist
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user