r174620 - Add AArch64 wchar definition to test

Tim Northover Tim.Northover at arm.com
Thu Feb 7 07:11:44 PST 2013


Author: tnorthover
Date: Thu Feb  7 09:11:44 2013
New Revision: 174620

URL: http://llvm.org/viewvc/llvm-project?rev=174620&view=rev
Log:
Add AArch64 wchar definition to test

This should allow it to pass if the default triple is AArch64

Modified:
    cfe/trunk/test/Sema/wchar.c

Modified: cfe/trunk/test/Sema/wchar.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/wchar.c?rev=174620&r1=174619&r2=174620&view=diff
==============================================================================
--- cfe/trunk/test/Sema/wchar.c (original)
+++ cfe/trunk/test/Sema/wchar.c Thu Feb  7 09:11:44 2013
@@ -6,7 +6,7 @@ typedef __WCHAR_TYPE__ wchar_t;
 #if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \
  || defined(_M_X64) || defined(SHORT_WCHAR)
   #define WCHAR_T_TYPE unsigned short
-#elif defined(__arm)
+#elif defined(__arm) || defined(__aarch64__)
   #define WCHAR_T_TYPE unsigned int
 #elif defined(__sun) || defined(__AuroraUX__)
   #define WCHAR_T_TYPE long





More information about the cfe-commits mailing list