commit | 3417140281c8c9213c3006aaef53dabc799350c1 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Fri Feb 03 11:34:51 2023 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Wed Feb 15 16:44:18 2023 +0800 |
tree | 77dccb8c245ad567700cef39d23d5157eac6e9ca | |
parent | 28f992d40710a9055ac5de56651b0c170aea786a [diff] |
Simplify the return value of CompareCommonRecordFields Before this commit, the function returns (kDirectDiff, RecordFieldDiffIR *) or (kIndirectDiff/kNoDiff, nullptr). The commit changes the return value to a DiffStatus. The caller decides whether to create a RecordFieldDiffIR by the DiffStatus. Test: ./test.py Bug: 255702405 Change-Id: If2bfd5bca78e9d924be34ad5c522db9b91382cde