mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
5914a60995
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: iahs Differential Revision: D22764126 fbshipit-source-id: 67b1bc6d4a9135f594d78325cee8a194255bdcb8 |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
Journal.cpp | ||
Journal.h | ||
JournalDelta.cpp | ||
JournalDelta.h |