From: Benjamin Kramer Date: Sat, 31 May 2014 15:06:33 +0000 (+0000) Subject: Fix test on platforms where size_t is not 'unsigned long'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=733637bbe91838e329b0bb272387637898923860;p=clang Fix test on platforms where size_t is not 'unsigned long'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FixIt/format.m b/test/FixIt/format.m index fea8465485..d07ee363b4 100644 --- a/test/FixIt/format.m +++ b/test/FixIt/format.m @@ -89,7 +89,7 @@ void test_fixed_enum_correction(NSStringEncoding x) { typedef __SIZE_TYPE__ size_t; enum SomeSize : size_t { IntegerSize = sizeof(int) }; void test_named_fixed_enum_correction(enum SomeSize x) { - NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has underlying type 'size_t' (aka 'unsigned long')}} + NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has underlying type 'size_t' (aka}} // CHECK: fix-it:"{{.*}}":{92:11-92:13}:"%zu" }