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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits