[PATCH] D93436: [clangd] Print .clang-tidy configuration parsing errors using [ev]?log.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 17 09:35:44 PST 2020


sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.

Nice! From here it seems like mostly a question of plumbing/refactoring on the clangd side to be able to surface these diagnostics, similar to how you did it with config files.

At some point, particularly if we also support .clang-format files, it might even be worth reconsidering if there's a lightweight way to become a language-server for such files. Less in order to provide quickfixes and code completion (which would be huge effort), and more to be able to surface diagnostics for files that are opened in the editor (rather than waiting until clangd tries to parse them for some other reason)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93436/new/

https://reviews.llvm.org/D93436



More information about the cfe-commits mailing list