@@ -152,7 +152,7 @@ enum class APIAvailability {
152152
153153/* TO_UPSTREAM(BoundsSafety) ON */
154154namespace {
155- struct BoundsSafety {
155+ struct BoundsSafetyNotes {
156156 BoundsSafetyInfo::BoundsSafetyKind Kind;
157157 unsigned Level = 0 ;
158158 StringRef BoundsExpr = " " ;
@@ -215,7 +215,7 @@ struct Param {
215215 std::optional<NullabilityKind> Nullability;
216216 std::optional<RetainCountConventionKind> RetainCountConvention;
217217 /* TO_UPSTREAM(BoundsSafety) ON */
218- std::optional<BoundsSafety > BoundsSafety;
218+ std::optional<BoundsSafetyNotes > BoundsSafety;
219219 /* TO_UPSTREAM(BoundsSafety) OFF */
220220 StringRef Type;
221221};
@@ -275,8 +275,8 @@ template <> struct MappingTraits<Param> {
275275};
276276
277277/* TO_UPSTREAM(BoundsSafety) ON */
278- template <> struct MappingTraits <BoundsSafety > {
279- static void mapping (IO &IO, BoundsSafety &BS) {
278+ template <> struct MappingTraits <BoundsSafetyNotes > {
279+ static void mapping (IO &IO, BoundsSafetyNotes &BS) {
280280 IO.mapRequired (" Kind" , BS.Kind );
281281 IO.mapRequired (" BoundedBy" , BS.BoundsExpr );
282282 IO.mapOptional (" Level" , BS.Level , 0 );
0 commit comments