forked from OSchip/llvm-project
[clang][NFC] Inclusive language: remove use of Whitelist in clang/lib/Analysis/
[NFC] As part of using inclusive language within the llvm project, this patch rewords a comment to replace Whitelist with Allowlist in `RetainSummaryManager.cpp`. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D124389
This commit is contained in:
parent
d35f7f254f
commit
0386213352
|
@ -398,7 +398,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject(
|
||||||
} else if (FName.startswith("NSLog")) {
|
} else if (FName.startswith("NSLog")) {
|
||||||
return getDoNothingSummary();
|
return getDoNothingSummary();
|
||||||
} else if (FName.startswith("NS") && FName.contains("Insert")) {
|
} else if (FName.startswith("NS") && FName.contains("Insert")) {
|
||||||
// Whitelist NSXXInsertXX, for example NSMapInsertIfAbsent, since they can
|
// Allowlist NSXXInsertXX, for example NSMapInsertIfAbsent, since they can
|
||||||
// be deallocated by NSMapRemove. (radar://11152419)
|
// be deallocated by NSMapRemove. (radar://11152419)
|
||||||
ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(StopTracking));
|
ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(StopTracking));
|
||||||
ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(StopTracking));
|
ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(StopTracking));
|
||||||
|
|
Loading…
Reference in New Issue