================
@@ -0,0 +1,232 @@
+// RUN: %clang_analyze_cc1 -verify -analyzer-output=text %s \
+// RUN:   -analyzer-checker=core \
+// RUN:   -analyzer-checker=cplusplus \
+// RUN:   -analyzer-checker=unix \
+// RUN:   -analyzer-checker=unix.Malloc
----------------
NagyDonat wrote:

```suggestion
// RUN:   -analyzer-checker=unix
```
Enabling the checker group `unix` will enable `unix.Malloc`, so you don't need 
to enable it separately.

Alternatively you could enable only `unix.Malloc` if you don't need any other 
checkers from that checker group.

https://github.com/llvm/llvm-project/pull/152751
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to