Looks good! Let's try this. If it turns out to generate too many false positives, we may need to disable the check by default. I'll let you know if I find any issues. Thank you for the contribution! http://reviews.llvm.org/D9528 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/