Skip to content

Commit 7dab394

Browse files
aristidispmeta-codesync[bot]
authored andcommitted
Add URI constants for (new) Sealed, AllowUnsafeNonSealedKeyType annotations
Reviewed By: rmakheja Differential Revision: D92566819 fbshipit-source-id: 44fa3d540ce287b0affd2ca3f0e394ee8d50e9f3
1 parent d18fe17 commit 7dab394

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • third-party/thrift/src/thrift/compiler/ast

third-party/thrift/src/thrift/compiler/ast/uri.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ inline constexpr auto kTransitiveUri =
4444
inline constexpr auto kSerialUri = "facebook.com/thrift/annotation/Serial";
4545
inline constexpr auto kUriUri = "facebook.com/thrift/annotation/Uri";
4646
inline constexpr auto kPriorityUri = "facebook.com/thrift/annotation/Priority";
47+
inline constexpr auto kSealedUri = "facebook.com/thrift/annotation/Sealed";
4748
inline constexpr auto kDeprecatedUnvalidatedAnnotationsUri =
4849
"facebook.com/thrift/annotation/DeprecatedUnvalidatedAnnotations";
4950
inline constexpr auto kAllowReservedIdentifierUri =
@@ -64,6 +65,8 @@ inline constexpr auto kAllowUnsafeRequiredFieldQualifierUri =
6465
"facebook.com/thrift/annotation/AllowUnsafeRequiredFieldQualifier";
6566
inline constexpr auto kAllowLegacyMissingUris =
6667
"facebook.com/thrift/annotation/AllowLegacyMissingUris";
68+
inline constexpr auto kAllowUnsafeNonSealedKeyTypeUri =
69+
"facebook.com/thrift/annotation/AllowUnsafeNonSealedKeyType";
6770

6871
// Scope:
6972
inline constexpr auto kScopeProgramUri =

0 commit comments

Comments
 (0)