clangd drops diagnostics coming outside the main file, but it is still
useful to see that something went wrong in the logs.
Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
clangd/ClangdUnit.cpp | ||
---|---|---|
183 | does Message include file:line? we probably want that in the log line. | |
187 | Agree this is useful. Have we turned off the diagnostics limit (or will we?) a misconfig of e.g. C vs C++ parsing of a header seems like it could produce 1000+ log lines from preamble that we should probably avoid somehow. |
- Show location of dropped diagnostic.
clangd/ClangdUnit.cpp | ||
---|---|---|
183 | No, it didn't include the line before. Now dumping the location too. | |
187 | I don't think we have changed default clang behavior. |
does Message include file:line? we probably want that in the log line.