[PATCH] D83224: [clangd] Move clang-tidy check modifications into ClangdServer

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 17:33:39 PDT 2020


njames93 added inline comments.


================
Comment at: clang-tools-extra/clangd/ClangdServer.cpp:210
         GetClangTidyOptions(*TFS.view(/*CWD=*/llvm::None), File);
+  if (!Opts.ClangTidyOpts.Checks) {
+    // If the user hasn't configured clang-tidy checks at all, including
----------------
Should the `!` be removed the branches be swapped? Just looks cleaner imo, WDYT? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83224



More information about the cfe-commits mailing list