Make format-strings-fixit.c aware of "%hu" uint16_t on wchar_t for targeting win32.

llvm-svn: 204334
This commit is contained in:
NAKAMURA Takumi 2014-03-20 10:54:53 +00:00
parent 338eee1964
commit d49823667d
1 changed files with 2 additions and 2 deletions

View File

@ -225,8 +225,8 @@ void test2(int intSAParm[static 2]) {
// CHECK: scanf("%99s", str);
// CHECK: scanf("%s", vstr);
// CHECK: scanf("%99s", str);
// CHECK: scanf("%d", wstr);
// CHECK: scanf("%d", wstr);
// CHECK: scanf("{{%d|%hu}}", wstr);
// CHECK: scanf("{{%d|%hu}}", wstr);
// CHECK: scanf("%99s", str);
// CHECK: scanf("%hd", &shortVar);
// CHECK: scanf("%hu", &uShortVar);