mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
e3f4a56f6b
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
fake_edenfs.cpp | ||
force_sd_booted.c | ||
fsattr.cpp | ||
TakeoverTool.cpp | ||
ZeroBlob.cpp |