1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +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:
Craig Topper 2019-03-04 19:23:37 +00:00
parent 5792128251
commit de4af9e7d5

View File

@ -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 << "} } }";
}
//