https://bugs.llvm.org/show_bug.cgi?id=43943
Bug ID: 43943
Summary: iplist_impl - use after move warnings
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
Assignee: unassignedb...@nondot.org
Reporter: llvm-...@redking.me.uk
CC: david.bolvan...@gmail.com, dexonsm...@apple.com,
llvm-bugs@lists.llvm.org
We're seeing static analyzer use after move warnings on both these cases:
iplist_impl(iplist_impl &&X)
: TraitsT(std::move(X)), IntrusiveListT(std::move(X)) {}
iplist_impl &operator=(iplist_impl &&X) {
*static_cast<TraitsT *>(this) = std::move(X);
*static_cast<IntrusiveListT *>(this) = std::move(X);
return *this;
}
Duncan - you committed this back at rL281181 - any suggestions?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs