[PATCH] D133757: [clangd] Perform system include extraction inside CommandMangler
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 31 02:11:43 PDT 2022
nridge added inline comments.
================
Comment at: clang-tools-extra/clangd/test/system-include-extractor.test:82
+
+# Skip past the lack of diagnostics in the workspace and user config files...
+# CHECK2: "method": "textDocument/publishDiagnostics",
----------------
Ugh, this doesn't quite work in that whether we get diagnostics for the **user** config file depends on whether it exists. It happens to on my system but presumably it may not on a buildbot?
Should I create a user config file in the lit test so it reliably exists (and delete it at the end)? Or is there some FileCheck magic I can employ that would ignore an optional second publishDiagnostics which is not the interesting one?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133757/new/
https://reviews.llvm.org/D133757
More information about the cfe-commits
mailing list