HighCommander4 wrote:

> btw, it looks like there is a FIXME 
> (https://github.com/llvm/llvm-project/blob/main/clang/lib/AST/ExprCXX.cpp#L677)
>  for supporting this particular case.

I saw it, but I'm not clear on what that would look like.

Which member function a member function pointer resolves to is a runtime 
property of the pointer variable. I don't think we can produce a 
`CXXMethodDecl` there unless perhaps the pointer is a constant expression, 
which seems like an edge case.

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

Reply via email to