[PATCH] D90747: [clangd] Mark AsyncTaskRunner::runAsync as const

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 09:19:57 PST 2020


sammccall added a comment.

AsyncTaskRunner is definitely threadsafe, but const doesn't exactly mean threadsafe...

This might be OK or maybe we should put `mutable` at the callsite - can you show the real example?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90747



More information about the cfe-commits mailing list