kaimfrai
kaimfrai
I just ran into this (Clang 17) and was about to open a new issue, but found this instead, so I'd like to leave my comment on the matter here:...
> (This section is not related to the issue report), > > Out of curiosity, I want to ask how do you use header units? What is the build system...
> I didn't image that the named modules are helpful for testing. Let me clarify that this works only for free functions found by ADL. For example defining operator ==...
> Another solution may be the use of `extern "C++"` in module units. The spec related note is http://eel.is/c++draft/module#unit-7.2.2. In short, the declarations in `extern "C++" of module units` are...
Thanks for the quick fixes so far. I just tried it with an updated local build of clang again. Unfortunately there are still some errors remaining. They all appear to...
> https://reviews.llvm.org/D142704 as a patch to handle function templates. I just applied the patch locally. While some of the errors go away, there are still more unfortunately. I spotted 4...
> firstly, I apologise that this is taking some time (and iterations) to resolve No worries, I'm well aware this can happen when using unreleased builds. I've been using a...
No issues here. Tested libc++, libstdc++, C++20 and C++2b mode. Thank you!
Just checked up on this again. It appears to be resolved in Clang 17, but remains an issue in Clang 15 and 16.
This issue appears to be resolved for now. I suspect it's due to commit https://github.com/llvm/llvm-project/commit/db1b827ecfed6d311c315484f8a0bd78d4e9f99a. I'm unsure whether to close this or keep it open in case the same issue...