https://github.com/ChenMiaoi commented:
I don’t think this provides a general fix. Class-head attributes are parsed
before `ActOnTagStartDefinition` invalidates the alias template parameters. For
example:
``` cc
template <class T>
using A = struct alignas(sizeof(T)) B {};
```
https://github.com/llvm/llvm-project/pull/235456
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
