================ @@ -1312,6 +1312,11 @@ bool ResultBuilder::canCxxMethodBeCalled(const CXXMethodDecl *Method, (CurrentClassScope == Method->getParent() || CurrentClassScope->isDerivedFrom(Method->getParent())); + // if method is using C++23 "deducing this", then it is a call + if (Method->isExplicitObjectMemberFunction()) { + FunctionCanBeCall = true; + } ---------------- MythreyaK wrote:
We probably need more checks here :D https://github.com/llvm/llvm-project/pull/152445 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits