If we don't use the index otherwise, if(IN_LIST) is more readable and doesn't clutter the local scope with index variables. This was pointed out by @beanz in D96670. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D142405
4.5 KiB
4.5 KiB