rnk added inline comments.

================
Comment at: lib/AST/ExprConstant.cpp:5766
@@ +5765,3 @@
+    if (CXXRecordDecl *CD = dyn_cast<CXXRecordDecl>(
+            E->getType()->castAs<RecordType>()->getDecl()))
+      CD->setNeedLocalVFTable();
----------------
Even better:
  if (auto *CD = E->getType()->getAsCXXRecordDecl())


http://reviews.llvm.org/D22034



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

Reply via email to