diff options
| author | Ted Kremenek <kremenek@apple.com> | 2012-01-20 21:52:58 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2012-01-20 21:52:58 +0000 |
| commit | e7b9d4342b10d8bff6e0ae38c80ef27877ebd73a (patch) | |
| tree | 237186f55c12e051db9d57e8a6e5a9075eb4869f /clang/test/Analysis/taint-generic.c | |
| parent | 46a9f016c5fca708710e8c791675354cbf51fdfa (diff) | |
| download | bcm5719-llvm-e7b9d4342b10d8bff6e0ae38c80ef27877ebd73a.tar.gz bcm5719-llvm-e7b9d4342b10d8bff6e0ae38c80ef27877ebd73a.zip | |
Tighten format string diagnostic and make it a bit clearer (and a bit closer to GCC's).
llvm-svn: 148579
Diffstat (limited to 'clang/test/Analysis/taint-generic.c')
| -rw-r--r-- | clang/test/Analysis/taint-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/taint-generic.c b/clang/test/Analysis/taint-generic.c index 65e519e6ae3..be20f2c24f6 100644 --- a/clang/test/Analysis/taint-generic.c +++ b/clang/test/Analysis/taint-generic.c @@ -65,7 +65,7 @@ void bufferScanfAssignment(int x) { void scanfArg() { int t = 0; - scanf("%d", t); // expected-warning {{conversion specifies type 'int *' but the argument has type 'int'}} + scanf("%d", t); // expected-warning {{format specifies type 'int *' but the argument has type 'int'}} } void bufferGetchar(int x) { |

