diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-06-16 21:23:04 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-06-16 21:23:04 +0000 |
commit | 13927a431dd733336cfd664bf0840747a71b0a43 (patch) | |
tree | 19128d5db391d877d383fcbe96c96d91db94b805 /test/Sema/format-strings-fixit.c | |
parent | 3e1274f2b99cb99c03cc8e2c6517c37d330b597a (diff) |
Extend format string type-checking to include '%p'. Fixes remaining cases PR 4468.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/format-strings-fixit.c')
-rw-r--r-- | test/Sema/format-strings-fixit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/format-strings-fixit.c b/test/Sema/format-strings-fixit.c index 9a1fef0401..bbdd4d8105 100644 --- a/test/Sema/format-strings-fixit.c +++ b/test/Sema/format-strings-fixit.c @@ -14,6 +14,7 @@ void test() { printf("%s", (int) 123); printf("abc%0f", "testing testing 123"); printf("%u", (long) -12); + printf("%p", 123); // Larger types printf("%+.2d", (unsigned long long) 123456); |