I skimmed over the patch quickly and it seems good to me. I'm curious to know if you made any A/B comparison, and if LLVM ADT results faster for this particular use case. http://reviews.llvm.org/D7885 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/