[clang-tools-extra] [clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (PR #66462)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 15 19:52:39 PDT 2024


guijiyang wrote:

> @Arthapz @guijiyang thanks for reporting. But could you try to give feedbacks to that repo instead of this page. I feel this page it too long now. (My browser needs seconds to load it). And this page is indeed not a good place to track that.
> 
> @guijiyang it looks like the reason why it can't works is that the clang tools can't handle with MSVC's option '/ifcOutput' and '/interface' . It may be better if you can compile your project with clang.exe on Windows and use a compile commands from that. And also, as far as I know, clang can't compile std module from MSSTL. Then clangd can't handle that too. Maybe we have to need to wait for clang to compile std module from STL.
> 
> @Arthapz For the first error, it says the module unit doesn't declare that module. Maybe it will helpful to check that. For the second error, it should be a inconsistent configuration in the clangd side. https://clang.llvm.org/docs/StandardCPlusPlusModules.html#object-definition-consistency. We skipped ODR check by default in clang but it looks like we forgot it in clangd.

Ok, i got it, and which repo can give feedback to you?

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


More information about the cfe-commits mailing list