r262042 - Minor tweak to match the overall style.

Sunil Srivastava via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 10:01:12 PST 2016


Author: ssrivastava
Date: Fri Feb 26 12:01:12 2016
New Revision: 262042

URL: http://llvm.org/viewvc/llvm-project?rev=262042&view=rev
Log:
Minor tweak to match the overall style.

Modified:
    cfe/trunk/test/Sema/bitfield-layout.c

Modified: cfe/trunk/test/Sema/bitfield-layout.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/bitfield-layout.c?rev=262042&r1=262041&r2=262042&view=diff
==============================================================================
--- cfe/trunk/test/Sema/bitfield-layout.c (original)
+++ cfe/trunk/test/Sema/bitfield-layout.c Fri Feb 26 12:01:12 2016
@@ -255,7 +255,7 @@ struct g13 {
 CHECK_SIZE(struct, g13, 16);
 CHECK_ALIGN(struct, g13, 8);
 CHECK_OFFSET(struct, g13, c, 8);
-#elif (__x86_64__)
+#elif defined(__x86_64__)
 CHECK_SIZE(struct, g13, 9);
 CHECK_ALIGN(struct, g13, 1);
 CHECK_OFFSET(struct, g13, c, 8);
@@ -274,7 +274,7 @@ struct __attribute__((packed)) g14 {
 CHECK_SIZE(struct, g14, 16);
 CHECK_ALIGN(struct, g14, 8);
 CHECK_OFFSET(struct, g14, c, 8);
-#elif (__x86_64__)
+#elif defined(__x86_64__)
 CHECK_SIZE(struct, g14, 9);
 CHECK_ALIGN(struct, g14, 1);
 CHECK_OFFSET(struct, g14, c, 8);




More information about the cfe-commits mailing list