================
@@ -152,8 +152,11 @@ bool shouldTrackImplicitObjectArg(const CXXMethodDecl 
*Callee,
     return false;
 
   if (isPointerLikeType(Callee->getReturnType())) {
-    if (!Callee->getIdentifier())
-      return false;
+    if (!Callee->getIdentifier()) {
----------------
usx95 wrote:

Can you add a comment to show that optional-> is an example for this. Not sure 
if there are other owner types which have ->

https://github.com/llvm/llvm-project/pull/184725
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to