aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-18 10:41:41 +0200
committerMartin Storsjö <martin@martin.st>2019-12-19 12:14:09 +0200
commitf20fc65887e2085332d111ee0b05736794423c72 (patch)
treeb39d34e71a329812079217250b34654b14d7af18 /clang/lib/Frontend/CompilerInvocation.cpp
parent29d8c27c65289d1ed370861ff75f309a689a22cb (diff)
downloadllvm-f20fc65887e2085332d111ee0b05736794423c72.zip
llvm-f20fc65887e2085332d111ee0b05736794423c72.tar.gz
llvm-f20fc65887e2085332d111ee0b05736794423c72.tar.bz2
[clang] Fix compilation with GCC < 8 for MinGW
GCC 7 and earlier, when targeting MinGW, seems to have a bug in layout/size of bitfield structs if they contain a nested enum, making the size of the struct 8 bytes, while we have a static assert requiring it to be 4 bytes or less. While this clearly is a GCC bug, the workaround (moving the enum out of the bitfield) also is very nonintrusive and matches other existing enums there. Differential Revision: https://reviews.llvm.org/D71650
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions