================
@@ -1830,8 +1843,14 @@ void test() {
strcpy(x, y); // warn
}
+
+void test_safe_copy() {
+ char x[6];
+ strcpy(x, "hello"); // no warning
+}
```
+
----------------
steakhal wrote:What is this new line for? https://github.com/llvm/llvm-project/pull/234582 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
