[clang] [Clang] fix static operator()/[] call not evaluating object (PR #78356)

Mital Ashok via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 03:30:59 PST 2024


MitalAshok wrote:

This pull request changes `E(...)` to produce the same AST as `E.operator()(...)`, which is similar to `E.f(...)` for a static member function `f`.

But the linked #68485 changes this to CXXOperatorCallExpr, which is more appropriate since it is used for non-member call operators like anyways

https://github.com/llvm/llvm-project/pull/78356


More information about the cfe-commits mailing list