================
@@ -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.
----------------
Xazax-hun wrote:
But aren't we processing nullability annotations separately and aren't we
already storing this over there?
https://github.com/llvm/llvm-project/pull/185257
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits