[clang] [Clang] prevent errors for deduction guides using deduced type aliases (PR #117450)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 00:35:52 PST 2024
================
@@ -583,6 +583,8 @@ Improvements to Clang's diagnostics
- For an rvalue reference bound to a temporary struct with an integer member, Clang will detect constant integer overflow
in the initializer for the integer member (#GH46755).
+- Clang now prevents errors for deduction guides with deduced type aliases (#GH54909).
----------------
zyn0217 wrote:
This isn't clear enough to me: Someone might ask why we should 'prevent' errors in such cases, and what the rationale is behind it. It might help to reference some standardese to make it unimpeachable.
https://github.com/llvm/llvm-project/pull/117450
More information about the cfe-commits
mailing list