]> granicus.if.org Git - clang/commitdiff
Use __SIZE_TYPE__ as suggested by dgregor.
authorJohn McCall <rjmccall@apple.com>
Tue, 20 Apr 2010 01:26:56 +0000 (01:26 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 20 Apr 2010 01:26:56 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101857 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/no-exceptions.cpp

index bf2527cacba88bb9647473225e924f7e8a3b83bc..019e25c978422402ab6dffd4e0ee38c946bf0d50 100644 (file)
@@ -2,7 +2,7 @@
 
 // Various tests for -fno-exceptions
 
-typedef __typeof(sizeof(int)) size_t;
+typedef __SIZE_TYPE__ size_t;
 
 namespace test0 {
   // rdar://problem/7878149