forked from OSchip/llvm-project
[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
8acb0d9c82
commit
2729a91825
|
@ -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…
Reference in New Issue