I started adding tests for all diags but found there were just too many cases.
Still I think cleaning up the tests and adding a few more is worthwhile.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/IncludeFixer.cpp | ||
---|---|---|
75 | have you considered updating these diagnostics to have "incomplete" as diagnostic category and do the filtering here based on that? | |
176 | nit: if (!ET->...) | |
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp | ||
834–835 | thanks this one looks a lot better! I just wonder if we should send it as a separate patch though. |
have you considered updating these diagnostics to have "incomplete" as diagnostic category and do the filtering here based on that?