[PATCH] D107130: [clangd] Enable relative configs in check mode

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 30 05:08:55 PDT 2021


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/tool/Check.cpp:275
       Opts.ConfigProvider, nullptr);
-  WithContext Ctx(ContextProvider(""));
+  WithContext Ctx(ContextProvider(File));
   Checker C(File, Opts);
----------------
Only if FakeFile.empty() - we shouldn't take the arbitrary temp path into account


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107130



More information about the cfe-commits mailing list