Seems a lot cleaner, thanks. Can you add a test for it on the unit tests that you removed from your last patch? http://reviews.llvm.org/D8589 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/