summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-12-29 01:14:41 +0000
committerReid Kleckner <rnk@google.com>2016-12-29 01:14:41 +0000
commit32f171fec4bd3ef10bb76ebe3e804c78bbe3aa8b (patch)
tree3f7ea16ecc5fd1fadc8934463d668a6ad9b68147 /llvm/lib
parent6658cc9ead672908c2cbc286feda38ac462369f4 (diff)
downloadbcm5719-llvm-32f171fec4bd3ef10bb76ebe3e804c78bbe3aa8b.tar.gz
bcm5719-llvm-32f171fec4bd3ef10bb76ebe3e804c78bbe3aa8b.zip
Fix mingw build by moving the static const data member before the bitfields
Apparently GCC targeting Windows breaks bitfields on static data members: struct Foo { unsigned X : 16; static const int M = 42; unsigned Y : 16; }; static_assert(sizeof(Foo) == 4, "asdf"); // fails Who knew. llvm-svn: 290700
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud