I think it would be preferable to extend the asm constraint checks to disallow CXXThisExpr. http://reviews.llvm.org/D7329 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/