@@ -24,15 +24,8 @@ struct UseSimpleCustomAllocator {
2424
2525 // A template type like map needs to use "cpp.template" to specify a replacement template
2626 1: map <
27- // A concrete type like string needs to use "cpp.type" to specify a replacement type
28- string (
29- cpp.use_allocator ,
30- cpp.type = " facebook::cachelib::objcache::test::TestString" ,
31- ),
32- string (
33- cpp.use_allocator ,
34- cpp.type = " facebook::cachelib::objcache::test::TestString" ,
35- )
27+ string_cpptype_facebookcachelibobjcachetestTestString_cppuse_allocator_1_607 ,
28+ string_cpptype_facebookcachelibobjcachetestTestString_cppuse_allocator_1_607
3629 > (
3730 cpp.use_allocator ,
3831 cpp.template = " facebook::cachelib::objcache::test::TestMap" ,
@@ -55,10 +48,7 @@ struct UseSimpleCustomAllocator {
5548union UnionWithCustomAllocator {
5649 1: map <
5750 i32 ,
58- string (
59- cpp.use_allocator ,
60- cpp.type = " facebook::cachelib::objcache::test::TestString" ,
61- )
51+ string_cpptype_facebookcachelibobjcachetestTestString_cppuse_allocator_1_607
6252 > (
6353 cpp.use_allocator ,
6454 cpp.template = " facebook::cachelib::objcache::test::TestMap" ,
@@ -108,3 +98,9 @@ struct UseTwoF14Maps {
10898} (
10999 cpp.allocator = "facebook::cachelib::objcache::test::TestF14TemplateAllocator<std::pair<const int32_t, int32_t>>",
110100)
101+
102+ // The following were automatically generated and may benefit from renaming.
103+ typedef string (
104+ cpp.type = 'facebook::cachelib::objcache::test::TestString',
105+ cpp.use_allocator = '1',
106+ ) string_cpptype_facebookcachelibobjcachetestTestString_cppuse_allocator_1_607
0 commit comments