[PATCH] D27751: [LLVM] Use after move bug fixes

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 08:45:43 PST 2016


Prazek added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp:42
     PrevAbbrCode = AbbrDecl.getCode();
-    Decls.push_back(std::move(AbbrDecl));
+    Decls.push_back(AbbrDecl);
   }
----------------
mboehme wrote:
> malcolm.parsons wrote:
> > False positive - extract() reinitializes.
> Thanks. FYI, we're working on a proposal for annotating methods that reinitialize an object.
Ok, I gonna leve comment here


https://reviews.llvm.org/D27751





More information about the llvm-commits mailing list