sapling/eden/fs/testharness
Lee Howes c0a837ec7d Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task).
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
2018-08-26 22:52:34 -07:00
..
test Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). 2018-08-26 22:52:34 -07:00
FakeBackingStore.cpp Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). 2018-08-26 22:52:34 -07:00
FakeBackingStore.h fix FileInode::isSameAs() to correctly wait on Future completion 2018-06-13 01:20:39 -07:00
FakeClock.h make Clock::getRealtime() const 2018-02-01 11:19:15 -08:00
FakeFuse.cpp Fix data race in Eden fuse driver handling of FUSE_INTERRUPT 2018-07-27 14:36:42 -07:00
FakeFuse.h Fix data race in Eden fuse driver handling of FUSE_INTERRUPT 2018-07-27 14:36:42 -07:00
FakeObjectStore.cpp prefetch file batch for hg import helper 2018-05-25 13:51:27 -07:00
FakeObjectStore.h prefetch file batch for hg import helper 2018-05-25 13:51:27 -07:00
FakePrivHelper.cpp add a privhelper call to set the log file 2018-06-18 17:22:18 -07:00
FakePrivHelper.h add a privhelper call to set the log file 2018-06-18 17:22:18 -07:00
FakeTreeBuilder.cpp fix FileInode::isSameAs() to correctly wait on Future completion 2018-06-13 01:20:39 -07:00
FakeTreeBuilder.h fix FileInode::isSameAs() to correctly wait on Future completion 2018-06-13 01:20:39 -07:00
HgRepo.cpp update the test HgRepo code to preserve HG_REAL_BIN and CHG_BIN 2018-08-24 12:22:08 -07:00
HgRepo.h fix UnicodeEncodeErrors thrown from eden prefetch code 2018-06-13 19:37:04 -07:00
StoredObject.h fix FileInode::isSameAs() to correctly wait on Future completion 2018-06-13 01:20:39 -07:00
TestChecks.h minor prefactoring split out from later diffs 2018-04-24 18:53:19 -07:00
TestDispatcher.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
TestDispatcher.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
TestMount.cpp Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). 2018-08-26 22:52:34 -07:00
TestMount.h Use a deterministic executor in TestMount 2018-08-21 12:23:00 -07:00
TestUtil.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
TestUtil.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00