]> granicus.if.org Git - llvm/commitdiff
Clarify that MSVC is not the issue here anymore.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 24 Oct 2016 18:11:05 +0000 (18:11 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 24 Oct 2016 18:11:05 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284997 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/PassManager.h

index 4715777601dc60879e7b7d48f09418051a5efea7..57d0c93514ebe4b29b4593bc660f94eb2b355ee0 100644 (file)
@@ -241,8 +241,10 @@ public:
   ///
   /// It can be passed a flag to get debug logging as the passes are run.
   PassManager(bool DebugLogging = false) : DebugLogging(DebugLogging) {}
-  // We have to explicitly define all the special member functions because MSVC
-  // refuses to generate them.
+  // FIXME: These are equivalent to the default move constructor/move
+  // assignment. However, using = default triggers linker errors due to the
+  // explicit instantiations below. Find away to use the default and remove the
+  // duplicated code here.
   PassManager(PassManager &&Arg)
       : Passes(std::move(Arg.Passes)),
         DebugLogging(std::move(Arg.DebugLogging)) {}