summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/darwin-align-cast.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-09-09 15:08:12 +0000
committerMike Stump <mrs@apple.com>2009-09-09 15:08:12 +0000
commit11289f42807681deee5551c40fe1a4282d54c86a (patch)
tree97ed01bf613ec21a6dc3d53097c925fc6353c9f9 /clang/test/Sema/darwin-align-cast.c
parent16ad903fcf596916257acef39618545de331db8f (diff)
downloadbcm5719-llvm-11289f42807681deee5551c40fe1a4282d54c86a.tar.gz
bcm5719-llvm-11289f42807681deee5551c40fe1a4282d54c86a.zip
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
Diffstat (limited to 'clang/test/Sema/darwin-align-cast.c')
-rw-r--r--clang/test/Sema/darwin-align-cast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/darwin-align-cast.c b/clang/test/Sema/darwin-align-cast.c
index 313a9e34109..fed89831915 100644
--- a/clang/test/Sema/darwin-align-cast.c
+++ b/clang/test/Sema/darwin-align-cast.c
@@ -8,10 +8,10 @@ struct cmsghdr {};
#if 0
This code below comes from the following system headers:
-sys/socket.h:#define CMSG_SPACE(l) (__DARWIN_ALIGN(sizeof(struct
+sys/socket.h:#define CMSG_SPACE(l) (__DARWIN_ALIGN(sizeof(struct
cmsghdr)) + __DARWIN_ALIGN(l))
-i386/_param.h:#define __DARWIN_ALIGN(p) ((__darwin_size_t)((char *)(p)
+i386/_param.h:#define __DARWIN_ALIGN(p) ((__darwin_size_t)((char *)(p)
+ __DARWIN_ALIGNBYTES) &~ __DARWIN_ALIGNBYTES)
#endif
OpenPOWER on IntegriCloud