[PATCH] D147839: [clang] Add test for CWG2007
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 10:22:39 PDT 2023
shafik added a comment.
In D147839#4257394 <https://reviews.llvm.org/D147839#4257394>, @Endill wrote:
> Replace unary `&` with `__builtin_addressof()`. It prevents unnecessary template instantiation (presumably to find overloaded unary `&`), and make Clang compliant since 3.4
Nice approach!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147839/new/
https://reviews.llvm.org/D147839
More information about the cfe-commits
mailing list