[clang] [clang][analyzer] Update CallDescription of 'tmpfile' & 'fopen' in StreamChecker (PR #70540)

Ben Shi via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 18:54:08 PDT 2023


================
@@ -0,0 +1,16 @@
+// RUN: %clang_analyze_cc1 -fno-builtin -analyzer-checker=core,alpha.unix.Stream -verify %s
+// expected-no-diagnostics
+
+typedef struct _FILE FILE;
+
+// These functions are not standard C library functions.
+FILE *tmpfile(const char *restrict path);
+FILE *fopen(const char *restrict path);
----------------
benshi001 wrote:

Done. Thanks.

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


More information about the cfe-commits mailing list