git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303391
91177308-0d34-0410-b5e6-
96231b3b80d8
CVType Type = Types.getType(*I);
if (auto EC = visitTypeRecord(Type, *I))
return EC;
- } while (I = Types.getNext(*I));
+ } while ((I = Types.getNext(*I)));
return Error::success();
}
auto T = Types.getType(*I);
if (auto EC = codeview::visitTypeRecord(T, *I, Pipeline))
return EC;
- } while (I = Types.getNext(*I));
+ } while ((I = Types.getNext(*I)));
if (DumpTpiHash) {
DictScope DD(P, "Hash");
DestIpi.addTypeRecord(Data, None);
});
- SmallString<64> OutFile = opts::merge::PdbOutputFile;
+ SmallString<64> OutFile(opts::merge::PdbOutputFile);
if (OutFile.empty()) {
OutFile = opts::merge::InputFilenames[0];
llvm::sys::path::replace_extension(OutFile, "merged.pdb");