================
@@ -1,11 +1,27 @@
 // RUN: %clang_analyze_cc1 -triple amdgcn-unknown-unknown \
-// RUN:   -analyzer-checker=core -verify %s
+// RUN:   -Wno-incompatible-library-redeclaration \
+// RUN:   -analyzer-checker=core,unix.cstring.BadSizeArg -verify %s
----------------
NagyDonat wrote:

In tests that check very specific corner cases of a certain checker (like this 
one) I slightly prefer using a minimal set of enabled checkers, because I feel 
that these tests are (in some sense) "not relevant" for unrelated checkers 
(don't add anything that is not covered by the "generic" tests). However if you 
think that running all `unix` checkers provides relevant information, then I'm 
not opposed to enabling them.

No action expected.

https://github.com/llvm/llvm-project/pull/153498
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to