[libcxx-commits] [PATCH] D104175: [libcxx][iwyu] ensures we IWYU as prep for modules
Christopher Di Bella via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 14 09:23:55 PDT 2021
cjdb added inline comments.
================
Comment at: libcxx/include/__function_like.h:40
- void operator&() const = delete;
-
----------------
ldionne wrote:
> Why is this change necessary?
The modules build seems to think that types derived from `__function_like` still have addresses. This sent me round the twist trying to figure out why, and I eventually explicitly deleted the operators in the derived types.
I don't want anyone to need to go through this again, so I think it's best we delete the operator from the base type so people realise they need to add it to the derived type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104175/new/
https://reviews.llvm.org/D104175
More information about the libcxx-commits
mailing list