[PATCH] D94424: [clangd] Make AST-based signals available to runWithPreamble.

Utkarsh Saxena via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 09:06:04 PST 2021


usaxena95 created this revision.
Herald added subscribers: kadircet, arphaman, javed.absar.
usaxena95 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94424

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: D94424.315822.patch
Type: text/x-patch
Size: 11371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210111/522afa40/attachment.bin>


More information about the cfe-commits mailing list