rengolin added a comment. Looks nice, thanks! Though, does it need to be a member function? Why not just a local static function? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62478/new/ https://reviews.llvm.org/D62478