sapling/eden/fs/config
Victor Zverovich e3f4a56f6b Migrate to field_ref Thrift API
Summary:
We are unifying C++ APIs for accessing optional and unqualified fields:
https://fb.workplace.com/groups/1730279463893632/permalink/2541675446087359/.

This diff migrates code from accessing data members generated from unqualified
Thrift fields directly to the `field_ref` API, i.e. replacing

```
thrift_obj.field
```

with

```
*thrift_obj.field_ref()
```

The `_ref` suffixes will be removed in the future once data members are private
and names can be reclaimed.

The output of this codemod has been reviewed in D20039637.

The new API is documented in
https://our.intern.facebook.com/intern/wiki/Thrift/FieldAccess/.

drop-conflicts

Reviewed By: yfeldblum

Differential Revision: D22631599

fbshipit-source-id: 9bfcaeb636f34a32fd871c7cd6a2db4a7ace30bf
2020-07-21 11:23:35 -07:00
..
test config: add the TomlConfigTest.cpp to CMake 2020-05-09 08:46:36 -07:00
CachedParsedFileMonitor.h Use getFileContent() on Windows 2020-04-24 12:46:18 -07:00
CheckoutConfig.cpp win: change the argument order for writeFile 2020-05-05 18:14:54 -07:00
CheckoutConfig.h remove the legacy bind mount code from CheckoutConfig 2020-01-24 18:11:36 -08:00
CMakeLists.txt config: add CachedParsedFileMonitorTest to CMake build 2020-05-07 16:38:05 -07:00
ConfigSetting.h refactor EdenConfig to use private inheritance 2019-10-11 11:01:49 -07:00
eden_config.thrift enable py3 thrift language 2020-06-10 19:29:17 -07:00
EdenConfig.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
EdenConfig.h introduce scs metadata importer 2020-07-10 16:03:32 -07:00
FieldConverter.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FieldConverter.h adding logging for selective paths 2020-06-23 10:02:41 -07:00
FileChangeMonitor.cpp config: restrict stat comparison on Windows 2020-05-05 18:14:55 -07:00
FileChangeMonitor.h replace some uses of memset 2020-01-31 10:50:48 -08:00
ReloadableConfig.cpp use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
ReloadableConfig.h optimize and simplify ReloadableConfig 2019-10-11 10:42:36 -07:00
TomlConfig.h add helper for setting default values in toml tables 2020-02-05 11:20:26 -08:00