mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[Subtarget] Follow up to r355167, add another set of curly braces to FeatureBitArray initialization to satisfy older versions of clang.
Apparently older versions of clang like 3.6 require an extra set of curly braces around std::array initializations. I'm told the C++ language was changed regarding this by CWG 1270. llvm-svn: 355327
This commit is contained in:
parent
5792128251
commit
de4af9e7d5
@ -182,13 +182,13 @@ static void printFeatureMask(raw_ostream &OS, RecVec &FeatureList,
|
||||
Mask[Bit / 64] |= 1ULL << (Bit % 64);
|
||||
}
|
||||
|
||||
OS << "{ { ";
|
||||
OS << "{ { { ";
|
||||
for (unsigned i = 0; i != Mask.size(); ++i) {
|
||||
OS << "0x";
|
||||
OS.write_hex(Mask[i]);
|
||||
OS << "ULL, ";
|
||||
}
|
||||
OS << "} }";
|
||||
OS << "} } }";
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user