[clang] [BoundsSafety][APINotes] Upstream API notes format for bounds-safety function parameters (PR #185257)
Connector Switch via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 8 08:42:26 PDT 2026
================
@@ -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 = 0,
----------------
c8ef wrote:
Seems redundant. Removed.
https://github.com/llvm/llvm-project/pull/185257
More information about the cfe-commits
mailing list