[clang] [clang][analyzer] Support `fputc` in StreamChecker (PR #71518)

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 08:23:59 PST 2023


================
@@ -111,6 +117,14 @@ void f_use_after_close(void) {
   clearerr(p); // expected-warning {{Stream might be already closed}}
 }
 
+void f_write_after_close(void) {
----------------
balazske wrote:

This is not needed if the other indicated test is added.

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


More information about the cfe-commits mailing list