[clang] [Clang] Fix a regression introduced by #161163. (PR #162612)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 05:51:35 PDT 2025


cor3ntin wrote:

> hasNonTrivialDefaultConstructor

you can have 

```cpp
template <typename>
class C {
  C();
  C() requires true;
};
```

But in the case of __builtin_is_implicit_lifetime we probably want to allow that, actually...


https://github.com/llvm/llvm-project/pull/162612


More information about the cfe-commits mailing list