diff options
author | A. Jiang <de34@live.cn> | 2025-06-04 20:41:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 20:41:58 +0800 |
commit | fdb11c1be6683e2cff365e3c50ca2d63717e5ea9 (patch) | |
tree | 513c20f9bc14e78d2aa319131300e65690748ef4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d74831efeb1d32213ca824d23283606eb870d8fd (diff) | |
download | llvm-fdb11c1be6683e2cff365e3c50ca2d63717e5ea9.zip llvm-fdb11c1be6683e2cff365e3c50ca2d63717e5ea9.tar.gz llvm-fdb11c1be6683e2cff365e3c50ca2d63717e5ea9.tar.bz2 |
[libc++] Disallow specializing `common_reference` (#141465)
`common_reference` isn't an exception for [meta.rqmts]/4, so it's better
to disallow users to specialize it.
`indirectly_readable.compile.pass.cpp` was a bit problematic. It
attempted to opt-out common reference type in some wrong ways. Also, the
standard effectively forbids opting-out common reference type for `T&`
and `T&&`. This patch removes and adjusts some problematic cases.
---------
Co-authored-by: Nikolas Klauser <nikolasklauser@berlin.de>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions