================
@@ -968,6 +972,23 @@ static bool pathOnlyHandlesGslPointer(IndirectLocalPath
&Path) {
return false;
}
+static bool isAssginmentOperatorLifetimeBound(CXXMethodDecl *CMD) {
+ if (!CMD)
+ return false;
+ assert(CMD->getOverloadedOperator() == OverloadedOperatorKind::OO_Equal);
----------------
Xazax-hun wrote:
What about compound assignment operators? Do you plan to support those in a
follow-up?
That being said, I'd love to see a test case just to make sure this assert is
not triggered.
https://github.com/llvm/llvm-project/pull/106997
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits