<rdar://problem/12636970>
Properly detect the if unnamed bitfields are supported by clang if the major calng version is higher than 425. llvm-svn: 168734
This commit is contained in:
parent
0c00758065
commit
3e9031e83e
|
@ -890,7 +890,8 @@ DWARFCompileUnit::Supports_unnamed_objc_bitfields ()
|
|||
{
|
||||
if (GetProducer() == eProducerClang)
|
||||
{
|
||||
if (GetProducerVersionMajor() >= 425 && GetProducerVersionUpdate() >= 13)
|
||||
const uint32_t major_version = GetProducerVersionMajor();
|
||||
if (major_version > 425 || (major_version == 425 && GetProducerVersionUpdate() >= 13))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue