[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:49:46 PDT 2016


rnk added inline comments.

================
Comment at: lib/Sema/SemaDeclCXX.cpp:4816
@@ -4815,1 +4815,3 @@
+        if ((MD->isMoveAssignmentOperator() ||
+             (CXXC && CXXC->isMoveConstructor())) &&
             !getLangOpts().isCompatibleWithMSVC(LangOptions::MSVC2015))
----------------
The move constructor part of this is definitely a good fix though.


http://reviews.llvm.org/D19156





More information about the cfe-commits mailing list