Test clangd index file (original) (raw)
Hi,
We create clangd index file everyday and pust it to production for remote indexing. How can we validate the index file?
Thanks
hi @Saran,
It depends on what you want to verify, if all you care about is “it can be loaded by remote-index-server”, you can simply start remote-index-server with the index you just built and look for its output (successful load message vs error and exit).
If you want to compare it with an index from a previous run, unfortunately we don’t have any existing solutions. If you’re interested in developing such a verification tool, I think that’d definitely be interesting and, at least very useful for us too So I am happy to engage in such a discussion about what we should verify & how.