Attacker23
Attacker23
This issue still exists — both EDG and MSVC behave correctly as well. https://godbolt.org/z/qThT3Y4c5 The issue started appearing with **Clang 16**?
> https://godbolt.org/z/r78TYfP1s This input crashes on the latest version with both assertion and non-assertion build. @EugeneZelenko Should we reopen this?
> > > https://godbolt.org/z/r78TYfP1s This input crashes on the latest version with both assertion and non-assertion build. > > > > > > [@EugeneZelenko](https://github.com/EugeneZelenko) Should we reopen this? > >...
> The original example is incorrect per [[dcl.spec.auto.general]/16](https://eel.is/c++draft/dcl.spec.auto.general#16). The restriction was added by [CWG2081](https://cplusplus.github.io/CWG/issues/2081.html). Looks like that only Clang has implemented the resolution and thus correct (not sure whether the...
> 4\. Local bisection: Silently accepts the explicit instantiation → Diagnoses the explicit instantiation at > [d2f75f2](https://github.com/llvm/llvm-project/commit/d2f75f2fe3261264bb4692368aab64aaafb30f08) > (`f1bf0b02ae25` → `d2f75f2fe326`). > [CE comparison](https://godbolt.org/z/4Wr5nszja): Clang 21.1.0 (assertions) → Clang 22.1.0...
> @Attacker23 Hi sorry for asking some idiotic question haha not really familiar with the codebase. However it seems I'm not really able to reproduce the issue. Mind to tell...
@JasonHonKL To enable assertions, you’ll need to add the `-DLLVM_ENABLE_ASSERTIONS=ON` flag when running CMake. For example: ```bash cmake -DLLVM_ENABLE_ASSERTIONS=ON -G "Ninja" ../llvm ``` Then rebuild Clang, e.g.: ```bash ninja clang...
> Hmmm i tried seems still can't reproduce the bug :((((((((( > @JasonHonKL Could you maybe share a bit more info? I’m afraid I might not be able to help...
> Is someone working on this? Not that I know of.
> Great I'll pick it up then! Thanks!