https://bugs.llvm.org/show_bug.cgi?id=47789
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Smith <[email protected]> ---
This is not a bug. The C++ language rules disallow templates that have no valid
instantiations, but don't require implementations to diagnose such problems.
(Clang always intends to diagnose such cases; what happened between Clang 9 and
10 was that we fixed a bug that incorrectly caused this pattern to result in a
dependent class member access. That bugfix then allowed us to diagnose
eagerly.)
For what it's worth, the EDG frontend also rejects this code in its strict
mode.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs