mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
c0a837ec7d
Summary: Overall plan to modify Future<T>::then to be r-value qualified and use Future<T>::thenTry or Future<T>::thenValue. The goal is to disambiguate folly::Future and to improve type and lifetime safety of Future and its methods. Codemod: * future<T>.then(callable with operator()(not-a-try)) to future<T>.thenValue(callable with operator()(not-a-try)). * future<T>.then(callable with operator()()) to future<T>.thenValue(callable with operator()(auto&&)). * future<T>.then(callable with operator()(auto)) to future<T>.thenValue(callable with operator()(auto)). Reviewed By: yfeldblum Differential Revision: D9512177 fbshipit-source-id: daa3581611dcd9f32d9314bae1c5fa0f966613f3 |
||
---|---|---|
.. | ||
test | ||
FakeBackingStore.cpp | ||
FakeBackingStore.h | ||
FakeClock.h | ||
FakeFuse.cpp | ||
FakeFuse.h | ||
FakeObjectStore.cpp | ||
FakeObjectStore.h | ||
FakePrivHelper.cpp | ||
FakePrivHelper.h | ||
FakeTreeBuilder.cpp | ||
FakeTreeBuilder.h | ||
HgRepo.cpp | ||
HgRepo.h | ||
StoredObject.h | ||
TestChecks.h | ||
TestDispatcher.cpp | ||
TestDispatcher.h | ||
TestMount.cpp | ||
TestMount.h | ||
TestUtil.cpp | ||
TestUtil.h |