=?utf-8?q?Balázs_Kéri?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
steakhal wrote:
This patch breaks a downstream test, like this:
```c++
void test_fscanf_2() {
FILE *F1 = tmpfile();
if (!F1)
return;
int a;
unsigned b;
fscanf(F1, "%d %u", &a, &b);
clang_analyzer_dump_int(a); // FP warning: 1st function call argument is an
uninitialized value
fclose(F1);
}
```
The FP is present, even if I guard the dump with `if (ret == 2)`.
https://github.com/llvm/llvm-project/pull/78180
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits