Skip to content

Commit 0386213

Browse files
Quinn PhamQuinn Pham
authored andcommitted
[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
1 parent d35f7f2 commit 0386213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Analysis/RetainSummaryManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject(
398398
} else if (FName.startswith("NSLog")) {
399399
return getDoNothingSummary();
400400
} else if (FName.startswith("NS") && FName.contains("Insert")) {
401-
// Whitelist NSXXInsertXX, for example NSMapInsertIfAbsent, since they can
401+
// Allowlist NSXXInsertXX, for example NSMapInsertIfAbsent, since they can
402402
// be deallocated by NSMapRemove. (radar://11152419)
403403
ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(StopTracking));
404404
ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(StopTracking));

0 commit comments

Comments
 (0)