r243826 - Use the reserved keyword spelling of 'typeof'
David Majnemer
david.majnemer at gmail.com
Fri Jul 31 22:31:57 PDT 2015
Author: majnemer
Date: Sat Aug 1 00:31:56 2015
New Revision: 243826
URL: http://llvm.org/viewvc/llvm-project?rev=243826&view=rev
Log:
Use the reserved keyword spelling of 'typeof'
No functional change intended, just a drive-by cleanup.
Modified:
cfe/trunk/test/CodeGenCXX/exceptions.cpp
Modified: cfe/trunk/test/CodeGenCXX/exceptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/exceptions.cpp?rev=243826&r1=243825&r2=243826&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/exceptions.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/exceptions.cpp Sat Aug 1 00:31:56 2015
@@ -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 {
More information about the cfe-commits
mailing list