avt77 marked 2 inline comments as done.

================
Comment at: lib/Sema/SemaDeclCXX.cpp:4813
@@ +4812,3 @@
+        // and move constructor, so don't attempt to import/export them if
+        // we have a definition.
+        auto *CXXC = dyn_cast<CXXConstructorDecl>(MD);
----------------
rnk wrote:
> Oh, so we were already doing this check. I don't see what's wrong with our 
> current behavior, though. We export a few more symbols than MSVC 2013, but 
> there's no ABI problem with that.
Yes, it's a question about binary compatibility only

================
Comment at: lib/Sema/SemaDeclCXX.cpp:4816
@@ -4815,1 +4815,3 @@
+        if ((MD->isMoveAssignmentOperator() ||
+             (CXXC && CXXC->isMoveConstructor())) &&
             !getLangOpts().isCompatibleWithMSVC(LangOptions::MSVC2015))
----------------
rnk wrote:
> The move constructor part of this is definitely a good fix though.
And what's the decision? Could I commit the patch?


http://reviews.llvm.org/D19156



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

Reply via email to