[all-commits] [llvm/llvm-project] 2f395b: [clangd] Make AST-based signals available to runWi...

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Thu Jan 14 09:35:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f395b7092bdac0e39bb4e2bb5e6b03e521a45dd
      https://github.com/llvm/llvm-project/commit/2f395b7092bdac0e39bb4e2bb5e6b03e521a45dd
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    A clang-tools-extra/clangd/ASTSignals.cpp
    A clang-tools-extra/clangd/ASTSignals.h
    M clang-tools-extra/clangd/CMakeLists.txt
    M clang-tools-extra/clangd/TUScheduler.cpp
    M clang-tools-extra/clangd/TUScheduler.h
    A clang-tools-extra/clangd/unittests/ASTSignalsTests.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp

  Log Message:
  -----------
  [clangd] Make AST-based signals available to runWithPreamble.

Many useful signals can be derived from a valid AST which is regularly updated by
the ASTWorker. `runWithPreamble` does not have access to the ParsedAST
but it can be provided access to some signals derived from a (possibly
stale) AST.

Differential Revision: https://reviews.llvm.org/D94424




More information about the All-commits mailing list