[clang] [Clang] Better handle overload of explicit object member functions (PR #147498)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 9 10:41:17 PDT 2025


cor3ntin wrote:

Hum, I realized that this is actually https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2555, and my implementation is not quite correct, as the following should be ill-formed

struct K {
    void f(this K);
    void f();
};


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


More information about the cfe-commits mailing list