davidxl added a subscriber: davidxl. davidxl added a comment. +1 for the cleanup. The containsPointer interface does linear search to find the match which can be bad for compile time performance when used. https://reviews.llvm.org/D23360