[PATCH] D131569: [clangd] Allow updates to be canceled after compile flags retrieval

Adam Czachorowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 05:25:42 PDT 2022


adamcz added inline comments.


================
Comment at: clang-tools-extra/clangd/TUScheduler.cpp:898
+    if (isCancelled()) {
+      log("ASTWorker skipping update {0} for file {1}", Inputs.Version,
+          FileName);
----------------
I'd add something like "due to cancellation". I know you can tell that from the line number, but at first glance someone might think it's due to lack of changes or something like that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131569



More information about the cfe-commits mailing list