Yes, this looks good. I wonder in which context you run into this? Is it possible to provide a test case that covers this? http://reviews.llvm.org/D6913 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/