clangd drops diagnostics coming outside the main file, but it is still
useful to see that something went wrong in the logs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clangd/ClangdUnit.cpp | ||
---|---|---|
182 ↗ | (On Diff #132408) | does Message include file:line? we probably want that in the log line. |
186 ↗ | (On Diff #132408) | 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. |
Comment Actions
- Show location of dropped diagnostic.
clangd/ClangdUnit.cpp | ||
---|---|---|
182 ↗ | (On Diff #132408) | No, it didn't include the line before. Now dumping the location too. |
186 ↗ | (On Diff #132408) | I don't think we have changed default clang behavior. |