Nathan Ridge

Results 1193 comments of Nathan Ridge

> But it only shows the errors, how can it give me warnings like editor do? ![image](https://user-images.githubusercontent.com/46550268/226888258-e6400102-68ac-4f1c-b10d-12e8316b1620.png) Unfortunately this is not currently supported, but we have https://github.com/clangd/clangd/issues/1447 open for adding...

> I found a workaround that adding `WarningsAsErrors` and `-WFlag` to config file to enable clang-tidy and compiler waring/errors in clangd `--Check` mode, but the diagnostics of `unused include` specified...

The diagnostic is coming from the preamble --> this is an artifact of clangd's preamble optimization. Clangd is basically processing the file in two steps that are roughly equivalent to:...