You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also noticed that finding declaration from implementation works fine. Placing cursor in .cpp file and jumping to declaration in .cppm. So some index for this file is built.
Sorry, clangd doesn't have any modules support.
Clang does, and clangd allows flags to be passed through to clang so some things may work or appear to work. But it would need significant design/implementation effort to get it into a usable state.
clangd/clangd#1293 is the tracking bug for this, but nobody is currently working on it :-(
File
a.cppm
:File
a.cpp
:Placing cursor on
TestFunc()
declaration in cppm and trying to find its implementation in VSCode withclangd
connected gives no result.compile_commands.json
:Clangd log:
Full log attached.
Repository with sample project available here.
The text was updated successfully, but these errors were encountered: