================
@@ -157,8 +157,11 @@ void ContainerModeling::checkPostCall(const CallEvent
&Call,
if (Func->isOverloadedOperator()) {
const auto Op = Func->getOverloadedOperator();
if (Op == OO_Equal) {
- // Overloaded 'operator=' must be a non-static member function.
- const auto *InstCall = cast<CXXInstanceCall>(&Call);
+ // Only handle the assignment operator with implicit this
----------------
Xazax-hun wrote:
Maybe a FIXME with a GitHub ticket to properly support explicit could be nice.
https://github.com/llvm/llvm-project/pull/132581
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits