[clang] [clang-tools-extra] Reland: [clang] NFC: Clear some uses of MemberPointerType::getClass (PR #132317)
Mike Hommey via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 12:32:06 PDT 2025
glandium wrote:
For the record, my reduced test case is:
```
namespace camera {
template <class MEM_FUN> void GetChildAndCall(MEM_FUN);
struct CamerasChild {
template <typename This>
void ConnectDeviceListChangeListener(void (This::*)());
};
} // namespace camera
struct MediaEngineWebRTC {
MediaEngineWebRTC();
};
using camera::CamerasChild;
using camera::GetChildAndCall;
MediaEngineWebRTC::MediaEngineWebRTC() {
GetChildAndCall(
&CamerasChild::ConnectDeviceListChangeListener<MediaEngineWebRTC>);
}
```
and is fixed by #132977.
https://github.com/llvm/llvm-project/pull/132317
More information about the cfe-commits
mailing list