[PATCH] D69328: [clangd] Propogate context in TUScheduler::run

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 02:36:28 PDT 2019


kadircet added a comment.

In D69328#1718509 <https://reviews.llvm.org/D69328#1718509>, @sammccall wrote:

> Oops, this doesn't actually work - you're not setting the cloned context anywhere...


I am moving it into the lambda, which should extend the lifespan of context until destruction of it. Why would I need to set it in addition to that?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69328





More information about the cfe-commits mailing list