[all-commits] [llvm/llvm-project] 505669: [clangd] Fix possible assertion fail in TUScheduler

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Jul 2 06:57:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50566947e98ea845030cfa3b4c199fb9a2052d53
      https://github.com/llvm/llvm-project/commit/50566947e98ea845030cfa3b4c199fb9a2052d53
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M clang-tools-extra/clangd/TUScheduler.cpp

  Log Message:
  -----------
  [clangd] Fix possible assertion fail in TUScheduler

BlockUntilIdle is supposed to return false if it fails.
If an intermediate step fails to clear the queue, we shouldn't
charge ahead and assert on the state of the queue.




More information about the All-commits mailing list