[PATCH] D82002: [clangd] Drop FS usage in ClangTidyOpts

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 01:03:33 PDT 2020


njames93 added inline comments.


================
Comment at: clang-tools-extra/clangd/tool/ClangdMain.cpp:495-498
+    bool HasChecks = false;
+    for (const auto &Source : Sources)
+      HasChecks |= Source.first.Checks.hasValue();
+    if (!HasChecks)
----------------
`if (llvm::none_of(Sources, [](const auto &Source) { return Source.first.Checks.hasValue(); }))`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82002





More information about the cfe-commits mailing list