[PATCH] D53644: [clangd] workspace/symbol should be async, it reads from the index.
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 25 01:28:10 PDT 2018
ilya-biryukov added inline comments.
================
Comment at: unittests/clangd/TUSchedulerTests.cpp:541
+ std::atomic<int> Counter(0);
+ S.run("add 1", [&] { Counter.fetch_add(1); });
+ S.run("add 2", [&] { Counter.fetch_add(2); });
----------------
NIT: maybe simplify to `++Counter`?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53644
More information about the cfe-commits
mailing list