[PATCH] D19156: [ms][dll] #27212: Generating of implicit special members should take into account MSVC compatibility version

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 08:30:45 PDT 2016


rnk added inline comments.

================
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);
----------------
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.


http://reviews.llvm.org/D19156





More information about the cfe-commits mailing list