================
@@ -499,6 +499,7 @@ static bool isNormalAssignmentOperator(const FunctionDecl 
*FD) {
 }
 
 bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD) {
+  FD = FD->getMostRecentDecl();
----------------
higher-performance wrote:

Done.

https://github.com/llvm/llvm-project/pull/107627
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to