Skip to content

Commit 090d464

Browse files
aristidispmeta-codesync[bot]
authored andcommitted
xplat/thrift/
Reviewed By: iahs Differential Revision: D95161082 fbshipit-source-id: 308869109900df594662e08bbbb9c46def3a1346
1 parent f541d5b commit 090d464

File tree

50 files changed

+340
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+340
-281
lines changed

third-party/thrift/src/thrift/compiler/test/fixtures/complex-struct/out/cpp2/gen-cpp2/module_constants.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ ::cpp2::MyUnion const& constEnumUnion() {
2020
}
2121

2222

23-
::std::string_view _fbthrift_schema_1df5cd128411d3a6() {
23+
::std::string_view _fbthrift_schema_7ed9aa9cd69f5bff() {
2424
return "";
2525
}
26-
::folly::Range<const ::std::string_view*> _fbthrift_schema_1df5cd128411d3a6_includes() {
26+
::folly::Range<const ::std::string_view*> _fbthrift_schema_7ed9aa9cd69f5bff_includes() {
2727
return {};
2828
}
29-
::folly::Range<const ::std::string_view*> _fbthrift_schema_1df5cd128411d3a6_uris() {
29+
::folly::Range<const ::std::string_view*> _fbthrift_schema_7ed9aa9cd69f5bff_uris() {
3030
return {};
3131
}
3232

third-party/thrift/src/thrift/compiler/test/fixtures/complex-struct/out/cpp2/gen-cpp2/module_constants.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ namespace module_constants {
2424
/** Glean {"constant": "constEnumUnion"} */
2525
::cpp2::MyUnion const& constEnumUnion();
2626

27-
FOLLY_EXPORT ::std::string_view _fbthrift_schema_1df5cd128411d3a6();
28-
FOLLY_EXPORT ::folly::Range<const ::std::string_view*> _fbthrift_schema_1df5cd128411d3a6_includes();
29-
FOLLY_EXPORT ::folly::Range<const ::std::string_view*> _fbthrift_schema_1df5cd128411d3a6_uris();
27+
FOLLY_EXPORT ::std::string_view _fbthrift_schema_7ed9aa9cd69f5bff();
28+
FOLLY_EXPORT ::folly::Range<const ::std::string_view*> _fbthrift_schema_7ed9aa9cd69f5bff_includes();
29+
FOLLY_EXPORT ::folly::Range<const ::std::string_view*> _fbthrift_schema_7ed9aa9cd69f5bff_uris();
3030

3131
} // namespace module_constants
3232
} // namespace cpp2

third-party/thrift/src/thrift/compiler/test/fixtures/complex-struct/out/cpp2/gen-cpp2/module_types.h

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10699,87 +10699,87 @@ template <> struct TEnumTraits<::cpp2::MyUnionFloatFieldThrowExp::Type> {
1069910699
namespace apache::thrift::detail {
1070010700
template <> struct TSchemaAssociation<::cpp2::MyStructFloatFieldThrowExp, false> {
1070110701
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10702-
static constexpr int64_t programId = 2158857075802887078;
10703-
static constexpr ::std::string_view definitionKey = {"\xd1\x8b\xf0\x4b\x49\xd1\xa5\x74\xb5\x13\x03\xe5\xbb\x8b\xa1\xbf", 16};
10702+
static constexpr int64_t programId = 9140524509317520383;
10703+
static constexpr ::std::string_view definitionKey = {"\x75\xec\x7d\xa9\xf3\x02\xab\x22\x2d\x74\xbd\x70\x93\x80\xc5\x3f", 16};
1070410704
};
1070510705
template <> struct TSchemaAssociation<::cpp2::MyStructMapFloatThrowExp, false> {
1070610706
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10707-
static constexpr int64_t programId = 2158857075802887078;
10708-
static constexpr ::std::string_view definitionKey = {"\x7a\x83\x79\xd2\xe4\x56\x26\xc9\xbd\x5b\xe4\xaf\xf6\x99\xe2\xb0", 16};
10707+
static constexpr int64_t programId = 9140524509317520383;
10708+
static constexpr ::std::string_view definitionKey = {"\x5f\xe2\xe3\x4f\x55\xe1\x27\x58\x5b\xeb\x42\x59\x2e\x76\x4a\x59", 16};
1070910709
};
1071010710
template <> struct TSchemaAssociation<::cpp2::MyStruct, false> {
1071110711
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10712-
static constexpr int64_t programId = 2158857075802887078;
10713-
static constexpr ::std::string_view definitionKey = {"\x79\x90\xf0\x66\x0f\x90\x18\xd5\xcb\xd5\x24\xd5\x24\xee\x7b\xc2", 16};
10712+
static constexpr int64_t programId = 9140524509317520383;
10713+
static constexpr ::std::string_view definitionKey = {"\x4a\x2d\x47\xca\x8b\xc8\x6a\xda\x7c\x5c\xca\x32\x5a\x44\x52\x81", 16};
1071410714
};
1071510715
template <> struct TSchemaAssociation<::cpp2::SimpleStruct, false> {
1071610716
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10717-
static constexpr int64_t programId = 2158857075802887078;
10718-
static constexpr ::std::string_view definitionKey = {"\xcf\x5a\x76\x86\xbe\x12\x06\x69\xa1\xca\x88\x6c\x6f\x34\xb1\x71", 16};
10717+
static constexpr int64_t programId = 9140524509317520383;
10718+
static constexpr ::std::string_view definitionKey = {"\x55\xdc\x19\xa9\x7c\x81\x18\x57\xe4\x80\x37\xb4\xab\xe7\x1b\x72", 16};
1071910719
};
1072010720
template <> struct TSchemaAssociation<::cpp2::defaultStruct, false> {
1072110721
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10722-
static constexpr int64_t programId = 2158857075802887078;
10723-
static constexpr ::std::string_view definitionKey = {"\x33\x19\x5a\x36\x1a\x5a\x67\x49\x55\x77\x4c\xdb\x16\xb4\x54\xe7", 16};
10722+
static constexpr int64_t programId = 9140524509317520383;
10723+
static constexpr ::std::string_view definitionKey = {"\x2e\x6e\xa1\x97\x60\x87\xa9\xf4\x5b\x2e\x7c\xb2\x7f\x90\x31\x95", 16};
1072410724
};
1072510725
template <> struct TSchemaAssociation<::cpp2::MyStructTypeDef, false> {
1072610726
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10727-
static constexpr int64_t programId = 2158857075802887078;
10728-
static constexpr ::std::string_view definitionKey = {"\xac\xc2\xe2\xca\x3c\xce\x00\xab\xe1\xda\x17\x63\x17\x18\x15\x44", 16};
10727+
static constexpr int64_t programId = 9140524509317520383;
10728+
static constexpr ::std::string_view definitionKey = {"\x6b\xff\x92\xd4\x51\x20\x31\x50\x4a\xd6\x2a\x15\xd0\x11\x94\xf8", 16};
1072910729
};
1073010730
template <> struct TSchemaAssociation<::cpp2::MyDataItem, false> {
1073110731
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10732-
static constexpr int64_t programId = 2158857075802887078;
10733-
static constexpr ::std::string_view definitionKey = {"\x05\x30\x3f\xd1\xdf\xdc\x93\x7a\x5c\x45\x5b\xe5\x0e\x22\x51\xe5", 16};
10732+
static constexpr int64_t programId = 9140524509317520383;
10733+
static constexpr ::std::string_view definitionKey = {"\xbf\x26\x66\xaf\xa9\x48\x8e\x13\x0e\x84\xad\x51\x66\x86\xa9\xb3", 16};
1073410734
};
1073510735
template <> struct TSchemaAssociation<::cpp2::MyUnion, false> {
1073610736
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10737-
static constexpr int64_t programId = 2158857075802887078;
10738-
static constexpr ::std::string_view definitionKey = {"\xc8\xaf\x68\x7b\x42\x0e\x51\x2c\xbc\x8e\x44\xc3\x0b\x0e\x58\xb0", 16};
10737+
static constexpr int64_t programId = 9140524509317520383;
10738+
static constexpr ::std::string_view definitionKey = {"\xb0\x4a\x43\xff\x43\xe8\xa9\x2f\x03\x66\xdf\xe2\x6a\x03\xe2\x48", 16};
1073910739
};
1074010740
template <> struct TSchemaAssociation<::cpp2::MyUnionFloatFieldThrowExp, false> {
1074110741
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10742-
static constexpr int64_t programId = 2158857075802887078;
10743-
static constexpr ::std::string_view definitionKey = {"\x55\x41\xe5\x71\xf9\x03\x81\xbb\x5d\x33\x60\x69\xbb\xdd\x7a\xe3", 16};
10742+
static constexpr int64_t programId = 9140524509317520383;
10743+
static constexpr ::std::string_view definitionKey = {"\xd3\x50\x9f\x92\xa6\x44\x85\x1c\xca\x05\xce\x2c\x16\xe3\x5e\xa6", 16};
1074410744
};
1074510745
template <> struct TSchemaAssociation<::cpp2::ComplexNestedStruct, false> {
1074610746
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10747-
static constexpr int64_t programId = 2158857075802887078;
10748-
static constexpr ::std::string_view definitionKey = {"\x22\x3b\x31\x52\xd8\xd2\xf0\x22\x27\x62\x5d\x0a\x43\xad\x6d\x61", 16};
10747+
static constexpr int64_t programId = 9140524509317520383;
10748+
static constexpr ::std::string_view definitionKey = {"\xc2\x25\xdb\x49\x6e\x15\x9e\x8f\xca\x9e\x29\xd3\xff\x2c\xc0\x19", 16};
1074910749
};
1075010750
template <> struct TSchemaAssociation<::cpp2::TypeRemapped, false> {
1075110751
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10752-
static constexpr int64_t programId = 2158857075802887078;
10753-
static constexpr ::std::string_view definitionKey = {"\x3b\xfc\x8b\xd1\x60\xf2\x14\x2d\x18\x44\xf6\xb6\xa8\x9b\x48\x85", 16};
10752+
static constexpr int64_t programId = 9140524509317520383;
10753+
static constexpr ::std::string_view definitionKey = {"\x7f\x70\x95\x4e\x03\xc7\x75\xf4\x5b\x9d\x2a\xd2\xdc\x5a\xa0\x5d", 16};
1075410754
};
1075510755
template <> struct TSchemaAssociation<::cpp2::emptyXcep, false> {
1075610756
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10757-
static constexpr int64_t programId = 2158857075802887078;
10758-
static constexpr ::std::string_view definitionKey = {"\xb0\x38\x14\x18\x84\xf6\x2f\xde\xef\xcd\xf6\x7c\xfc\xfe\x23\x47", 16};
10757+
static constexpr int64_t programId = 9140524509317520383;
10758+
static constexpr ::std::string_view definitionKey = {"\x6e\x06\x15\x4c\x22\x42\xe6\x7b\x90\x6a\x99\xc6\x4d\xd3\xce\xb1", 16};
1075910759
};
1076010760
template <> struct TSchemaAssociation<::cpp2::reqXcep, false> {
1076110761
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10762-
static constexpr int64_t programId = 2158857075802887078;
10763-
static constexpr ::std::string_view definitionKey = {"\xbe\xb0\xd1\xc4\xc1\xe0\x44\xd9\x70\xff\xe7\x54\x2c\xc3\xc3\xcc", 16};
10762+
static constexpr int64_t programId = 9140524509317520383;
10763+
static constexpr ::std::string_view definitionKey = {"\x55\xff\x6f\xce\xaa\x78\x1b\x58\x1e\x37\xf7\x35\x85\x1d\x95\xa7", 16};
1076410764
};
1076510765
template <> struct TSchemaAssociation<::cpp2::optXcep, false> {
1076610766
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10767-
static constexpr int64_t programId = 2158857075802887078;
10768-
static constexpr ::std::string_view definitionKey = {"\x94\xf3\x31\x42\x8c\x39\x00\x8b\x79\x56\x15\x89\x02\x91\xbf\xa9", 16};
10767+
static constexpr int64_t programId = 9140524509317520383;
10768+
static constexpr ::std::string_view definitionKey = {"\xe8\x30\x44\xc0\x45\xc0\xcb\xd0\x94\xd7\xfd\xf4\x33\xde\xec\xeb", 16};
1076910769
};
1077010770
template <> struct TSchemaAssociation<::cpp2::complexException, false> {
1077110771
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10772-
static constexpr int64_t programId = 2158857075802887078;
10773-
static constexpr ::std::string_view definitionKey = {"\xe9\x75\x2a\x8a\x28\x5b\x89\x4c\xb4\x35\x47\xae\x2d\x66\xf9\x3e", 16};
10772+
static constexpr int64_t programId = 9140524509317520383;
10773+
static constexpr ::std::string_view definitionKey = {"\xd9\xe2\xd9\xf0\xcd\x54\x0e\xed\xde\xf4\x3f\x8f\x60\xb4\x01\xe3", 16};
1077410774
};
1077510775
template <> struct TSchemaAssociation<::cpp2::Containers, false> {
1077610776
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10777-
static constexpr int64_t programId = 2158857075802887078;
10778-
static constexpr ::std::string_view definitionKey = {"\xf6\x03\x7f\x72\xe3\xee\x65\x06\xcf\xc3\xd5\x9b\xed\x68\xfb\x12", 16};
10777+
static constexpr int64_t programId = 9140524509317520383;
10778+
static constexpr ::std::string_view definitionKey = {"\x09\xec\x0a\xe0\x0e\x26\xa6\x7d\x36\x29\x54\x80\xef\xf3\x40\xf5", 16};
1077910779
};
1078010780
template <> struct TSchemaAssociation<::cpp2::MyEnum, true> {
1078110781
static constexpr ::folly::Range<const ::std::string_view*>(*bundle)() = nullptr;
10782-
static constexpr int64_t programId = 2158857075802887078;
10783-
static constexpr ::std::string_view definitionKey = {"\xf7\xc4\xc7\x2b\x04\x2e\x47\xd2\xa4\xbd\x07\x3d\xe2\x66\xe9\x57", 16};
10782+
static constexpr int64_t programId = 9140524509317520383;
10783+
static constexpr ::std::string_view definitionKey = {"\x1a\xf0\x63\x2f\xbf\x89\x03\x73\x58\x06\xaa\x31\x80\x78\xdb\x3b", 16};
1078410784
};
1078510785
} // namespace apache::thrift::detail

0 commit comments

Comments
 (0)