[clang] [Clang][Sema] Revisit the fix for the lambda within a type alias template decl (PR #89934)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 26 11:17:32 PDT 2024
================
@@ -91,15 +91,84 @@ void bar() {
namespace GH82104 {
-template <typename, typename...> int Zero = 0;
+template <typename, typename... D> int Value = sizeof...(D);
----------------
mizvekov wrote:
```suggestion
template <typename, typename... D> constexpr int Value = sizeof...(D);
```
https://github.com/llvm/llvm-project/pull/89934
More information about the cfe-commits
mailing list