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

2021-06-02 Thread Kadir Cetinkaya via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG6c2a4e28f4d1: [clangd] TUScheduler uses last active file for file-less queries (authored by kadircet). Repository: rG LLVM Github Monorepo CHANGE

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

2021-06-02 Thread Kadir Cetinkaya via Phabricator via cfe-commits
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/D

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

2021-06-02 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added a comment. This revision is now accepted and ready to land. Thanks, and sorry for the long journey to get here :-) Comment at: clang-tools-extra/clangd/TUScheduler.cpp:1542 Semaphore &Sem) { +

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

2021-06-01 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: sammccall. Herald added subscribers: usaxena95, jfb, arphaman, javed.absar. kadircet requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. This enables