[cfe-commits] r101857 - /cfe/trunk/test/SemaCXX/no-exceptions.cpp

John McCall rjmccall at apple.com
Mon Apr 19 18:26:56 PDT 2010


Author: rjmccall
Date: Mon Apr 19 20:26:56 2010
New Revision: 101857

URL: http://llvm.org/viewvc/llvm-project?rev=101857&view=rev
Log:
Use __SIZE_TYPE__ as suggested by dgregor.


Modified:
    cfe/trunk/test/SemaCXX/no-exceptions.cpp

Modified: cfe/trunk/test/SemaCXX/no-exceptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/no-exceptions.cpp?rev=101857&r1=101856&r2=101857&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/no-exceptions.cpp (original)
+++ cfe/trunk/test/SemaCXX/no-exceptions.cpp Mon Apr 19 20:26:56 2010
@@ -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





More information about the cfe-commits mailing list