[clang] [Clang][Sema] Diagnosis for constexpr constructor not initializing a union member (PR #81225)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 9 02:07:18 PST 2024
mahtohappy wrote:
@Fznamznon in non-template version
```else if (!Constructor->isDependentContext() &&
!Constructor->isDelegatingConstructor())``` this is the check that is performed and `isDependentContext` is true for templates, so I have separate condition for template versions. I'm doing the same thing as non-templated version just in different if condition.
https://github.com/llvm/llvm-project/pull/81225
More information about the cfe-commits
mailing list