ArcsinX wrote:

> But in the current impl, for module units containing headers, how can clangd 
> detect the change in the included header for the module units?

I checked, for me this scenario works correctly. I used example provided here 
https://github.com/llvm/llvm-project/issues/181770:
- modifications of exported structure (added field)
- add an include at the end of M.cppm

Behavior should be the same as for includes, which are outside the preamble 
section (e.g. include directive in the middle of the file)



https://github.com/llvm/llvm-project/pull/189284
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to