diff options
author | Paul Robinson <paul.robinson@sony.com> | 2016-05-16 17:22:25 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2016-05-16 17:22:25 +0000 |
commit | 9d61361acbe68ec1f3e442b836e619e447e467c0 (patch) | |
tree | 4ff554f553de640b6df7b6a5507171783fb9a27b /clang/test/Sema/bitfield-layout.c | |
parent | 39cf40f6b4c6deb66c3ff27f0cba73ed8b9d0cbc (diff) | |
download | bcm5719-llvm-9d61361acbe68ec1f3e442b836e619e447e467c0.tar.gz bcm5719-llvm-9d61361acbe68ec1f3e442b836e619e447e467c0.zip |
[PS4] Change the names of some "environmental" things to what our
licensees actually see in the toolchain we deliver to them. This will
reduce the set of local patches we have to maintain. The triple is
not changing. (The term ORBIS is an internal code name for PS4.)
llvm-svn: 269671
Diffstat (limited to 'clang/test/Sema/bitfield-layout.c')
-rw-r--r-- | clang/test/Sema/bitfield-layout.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/Sema/bitfield-layout.c b/clang/test/Sema/bitfield-layout.c index ea479b19ec1..079720cc9b4 100644 --- a/clang/test/Sema/bitfield-layout.c +++ b/clang/test/Sema/bitfield-layout.c @@ -97,7 +97,7 @@ struct g0 { char c; }; -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g0, 16); CHECK_ALIGN(struct, g0, 16); CHECK_OFFSET(struct, g0, c, 2); @@ -116,7 +116,7 @@ struct g1 { CHECK_SIZE(struct, g1, 4); CHECK_ALIGN(struct, g1, 4); -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_OFFSET(struct, g1, c, 2); #else CHECK_OFFSET(struct, g1, c, 3); @@ -142,7 +142,7 @@ struct __attribute__((packed)) g3 { }; CHECK_ALIGN(struct, g3, 16); -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g3, 16); CHECK_OFFSET(struct, g3, c, 2); #else @@ -158,7 +158,7 @@ struct __attribute__((packed)) g4 { CHECK_SIZE(struct, g4, 4); CHECK_ALIGN(struct, g4, 2); -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_OFFSET(struct, g4, c, 2); #else CHECK_OFFSET(struct, g4, c, 3); @@ -182,7 +182,7 @@ struct g7 { char : 1; __attribute__((aligned(1))) int n : 25; }; -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g7, 4); #else CHECK_SIZE(struct, g7, 8); @@ -193,7 +193,7 @@ struct __attribute__((packed)) g8 { char : 1; __attribute__((aligned(1))) int n : 25; }; -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g8, 4); #else CHECK_SIZE(struct, g8, 5); @@ -204,7 +204,7 @@ struct g9 { __attribute__((aligned(1))) char a : 2, b : 2, c : 2, d : 2, e : 2; int i; }; -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g9, 8); #else CHECK_SIZE(struct, g9, 12); @@ -215,7 +215,7 @@ struct __attribute__((packed)) g10 { __attribute__((aligned(1))) char a : 2, b : 2, c : 2, d : 2, e : 2; int i; }; -#if defined(__PS4__) +#if defined(__ORBIS__) CHECK_SIZE(struct, g10, 6); #else CHECK_SIZE(struct, g10, 9); |