]> granicus.if.org Git - clang/commitdiff
Use the reserved keyword spelling of 'typeof'
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Aug 2015 05:31:56 +0000 (05:31 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Aug 2015 05:31:56 +0000 (05:31 +0000)
No functional change intended, just a drive-by cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243826 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/exceptions.cpp

index e8f6c7996a16f11f81b8c3d6d92faae91f0a64bb..d6b5942dd23d29ce207c56d37bb5ee652bedd1e4 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
 
-typedef typeof(sizeof(0)) size_t;
+typedef __typeof(sizeof(0)) size_t;
 
 // This just shouldn't crash.
 namespace test0 {