We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd9488 commit fcb5361Copy full SHA for fcb5361
clang/test/Analysis/stream.c
@@ -475,7 +475,7 @@ void test_fprintf() {
475
}
476
477
478
-int test_vscanf_inner(const char *fmt, ...) {
+int test_vfscanf_inner(const char *fmt, ...) {
479
FILE *F1 = tmpfile();
480
if (!F1)
481
return EOF;
@@ -490,9 +490,9 @@ int test_vscanf_inner(const char *fmt, ...) {
490
return r;
491
492
493
-void test_vscanf() {
+void test_vfscanf() {
494
int i = 42;
495
- int r = test_vscanf_inner("%d", &i);
+ int r = test_vfscanf_inner("%d", &i);
496
if (r != EOF) {
497
clang_analyzer_dump_int(i); // expected-warning {{conj_$}}
498
// FIXME va_list "hides" the pointer to i
0 commit comments