mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
Use range for loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd32fbe9a5
commit
0964903e2c
@ -755,18 +755,16 @@ TEST_F(InstrProfTest, instr_prof_symtab_compression_test) {
|
||||
FuncNames2.push_back(OS.str());
|
||||
}
|
||||
|
||||
for (int DoCompression = 0; DoCompression < 2; DoCompression++) {
|
||||
for (bool DoCompression : {false, true}) {
|
||||
// Compressing:
|
||||
std::string FuncNameStrings1;
|
||||
collectPGOFuncNameStrings(FuncNames1,
|
||||
(DoCompression != 0 && zlib::isAvailable()),
|
||||
FuncNameStrings1);
|
||||
collectPGOFuncNameStrings(
|
||||
FuncNames1, (DoCompression && zlib::isAvailable()), FuncNameStrings1);
|
||||
|
||||
// Compressing:
|
||||
std::string FuncNameStrings2;
|
||||
collectPGOFuncNameStrings(FuncNames2,
|
||||
(DoCompression != 0 && zlib::isAvailable()),
|
||||
FuncNameStrings2);
|
||||
collectPGOFuncNameStrings(
|
||||
FuncNames2, (DoCompression && zlib::isAvailable()), FuncNameStrings2);
|
||||
|
||||
for (int Padding = 0; Padding < 3; Padding++) {
|
||||
// Join with paddings:
|
||||
|
Loading…
Reference in New Issue
Block a user