================
@@ -61,6 +61,7 @@ void testArraySubscripts(int *p, int **pp) {
);
int a[10]; // expected-warning{{'a' is an unsafe buffer that does
not perform bounds checks}}
+ // expected-note@-1{{change type of 'a' to
'std::array' to harden it}}
----------------
jkorous-apple wrote:
Went with "to label it for hardening".
https://github.com/llvm/llvm-project/pull/80084
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits