================
@@ -338,6 +338,71 @@ inline bool operator!=(const ContextInfo &LHS, const 
ContextInfo &RHS) {
   return !(LHS == RHS);
 }
 
+/// API notes for bounds safety annotations
+class BoundsSafetyInfo {
+public:
+  enum class BoundsSafetyKind {
+    CountedBy,
+    CountedByOrNull,
+    SizedBy,
+    SizedByOrNull,
+    EndedBy,
+  };
+
+private:
+  /// Whether this property has been audited for nullability.
----------------
c8ef wrote:

I think you're right - referring directly to bounds safety seems more 
appropriate to me.

https://github.com/llvm/llvm-project/pull/185257
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to