Track dependency on dependent directly adapted cpp.ref fields
commit3189b169a38a49899ede1c6fd20bedd6559ef443
authorShai Szulanski <iahs@meta.com>
Tue, 1 Nov 2022 22:46:07 +0000 (1 15:46 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 1 Nov 2022 22:46:07 +0000 (1 15:46 -0700)
tree46537c489990703c4e5af0c1d2c771c245f542fb
parent4500589618c3b217d94e1f5f8d069af5f17bd8c2
Track dependency on dependent directly adapted cpp.ref fields

Summary: We have to depend on the implicit typedef, which because it is dependent means we depend on the underlying struct as well

Reviewed By: thedavekwon

Differential Revision: D40906696

fbshipit-source-id: 1b45ac908ebfa2a67e7c0ed2ead717c4abdeabe0
30 files changed:
third-party/thrift/src/thrift/compiler/lib/cpp2/util.cc
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-android/test/fixtures/adapter/DeclaredAfterStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-android/test/fixtures/adapter/ReorderedStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_data.cpp
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_data.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_for_each_field.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_metadata.cpp
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_metadata.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_types.cpp
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_types.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_types.tcc
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-cpp2/module_visit_by_thrift_field_metadata.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-go/module/ttypes.go
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-hack/module_types.php
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-java/test/fixtures/adapter/DeclaredAfterStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-java/test/fixtures/adapter/ReorderedStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-java/test/fixtures/adapter/__fbthrift_TypeList_41b06774.java [moved from third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-java/test/fixtures/adapter/__fbthrift_TypeList_39b37d0c.java with 93% similarity]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-javadeprecated/test/fixtures/adapter/DeclaredAfterStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-javadeprecated/test/fixtures/adapter/ReorderedStruct.java [new file with mode: 0644]
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-json/module.json
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py/module/AdapterService.py
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py/module/Service.py
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py/module/constants.py
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py/module/ttypes.py
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py/module/ttypes.pyi
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py3/module/metadata.cpp
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-py3/module/types.h
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/gen-rust/types.rs
third-party/thrift/src/thrift/compiler/test/fixtures/adapter/src/module.thrift
third-party/thrift/src/thrift/test/adapter.thrift