[clang] [clang][analyzer] Fix false positive in StdLibraryFunctionsChecker for mmap with MAP_ANON (PR #219568)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 28 13:53:42 PDT 2026


================
@@ -0,0 +1,30 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=unix.StdCLibraryFunctions \
----------------
steakhal wrote:

I think the test file name is pretty specific. How about `stdlibraryfunction-darwin.c`?
Any time we would have something darwin-specific, we could put it there.

https://github.com/llvm/llvm-project/pull/219568


More information about the cfe-commits mailing list