erichkeane added inline comments.

================
Comment at: clang/lib/AST/ASTContext.cpp:2862
 
-  if (Ty->isMemberPointerType()) {
-    const auto *MPT = Ty->getAs<MemberPointerType>();
+  if (const auto *MPT = Ty->getAs<MemberPointerType>()) {
     return !ABI->getMemberPointerInfo(MPT).HasPadding;
----------------
Remove the curley braces, otherwise LGTM.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149922/new/

https://reviews.llvm.org/D149922

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to