<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110268>110268</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clangd] experimental module support seems to do little to nothing
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clangd,
clang:modules
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cool-cose
</td>
</tr>
</table>
<pre>
Having checked the patch log for the new experimental module support i would have expected a little more and i'm pretty sure it's just an issue on my end.
with --experimental-modules-support on all i really get is that import statements are not tagged as errors and methods from a module get tagged as "from *.cppm", there is no autocomplete, the comments for methods aren't shown and so on.
`clangd --version` output:
clangd version 19.1.0 (https://github.com/llvm/llvm-project a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)
Features: windows+grpc
Platform: x86_64-pc-windows-msvc
clangd arguments:
--query-driver=C:\msys64\mingw64\bin\clang++.exe
--experimental-modules-support
os:
windows 11
for a bit of added context, im using the mingw clang package which is still at 18.1.8.
i've tried build clang and clangd from source but what i could build with visual studio (i usually use visual studio code with cmake) came out broken, it could be the clang and clangd version mismatch but im not sure.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMGSozgM_RrnooICQ0g4cJhOV2qP-wdbxlbA0zZmbTnp_P2WDdnuncNU7SUx1rP0JD1JhKCnBXFgxzd2fD-ISLPzg3TOFNIFPIxOPYc_xF0vE8gZ5QcqoBlhFSRnMG6Cm_P5ZsEH4OeKXltcSBiwTkWDEOK6Ok-g4eGiUTCLO2agJFQgwGgig2CdRxCLAs34ycLqkegJIXoETYyfAvyMgUAsoEOICG4B-wRcVMmqd1b92H4fmmYoiu88io1HKF5E3ALCGNDgURjzhAkJdACaBYG2GRJIEKbnAYRHWBwBiWlKfAOg986HzNUizU4FuHlnQbwyTg6_4IzzbGb8RynX1TLOGb-kkqXUAiwORCQnnV0NEu42kM5uBFJ9X3GEx4XxE0GY3WPJF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