From: Quinn Pham Date: Fri, 22 Apr 2022 21:26:13 +0000 (-0500) Subject: [clang][NFC] Inclusive language: remove use of Whitelist in clang/lib/Analysis/ X-Git-Tag: upstream/15.0.7~9453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0386213352ec42342c756099fcfc6c1165d99e08;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/clang/lib/Analysis/RetainSummaryManager.cpp b/clang/lib/Analysis/RetainSummaryManager.cpp index 836e369..9098cf3 100644 --- a/clang/lib/Analysis/RetainSummaryManager.cpp +++ b/clang/lib/Analysis/RetainSummaryManager.cpp @@ -398,7 +398,7 @@ const RetainSummary *RetainSummaryManager::getSummaryForObjCOrCFObject( } else if (FName.startswith("NSLog")) { return getDoNothingSummary(); } 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) ScratchArgs = AF.add(ScratchArgs, 1, ArgEffect(StopTracking)); ScratchArgs = AF.add(ScratchArgs, 2, ArgEffect(StopTracking));