Skip to content
Snippets Groups Projects
Commit c6fe0ccf authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204334 91177308-0d34-0410-b5e6-96231b3b80d8
parent 2b7cab0c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment