[PATCH] D103476: [clangd] TUScheduler uses last active file for file-less queries

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 2 13:52:21 PDT 2021


kadircet updated this revision to Diff 349366.
kadircet marked an inline comment as done.
kadircet added a comment.

Keep using `Path` in `runWithSemaphore`, by substituting `LastActiveFile` when empty.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103476

Files:
  clang-tools-extra/clangd/TUScheduler.cpp
  clang-tools-extra/clangd/TUScheduler.h
  clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103476.349366.patch
Type: text/x-patch
Size: 4798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210602/dbdcd81b/attachment.bin>


More information about the cfe-commits mailing list