fix typos to cycle bots

This commit is contained in:
Nico Weber 2020-12-04 10:18:44 -05:00
parent 3898d98bd0
commit c8974af164
1 changed files with 2 additions and 2 deletions

View File

@ -647,7 +647,7 @@ void TpiSource::mergeTypeRecord(TypeIndex curIndex, CVType ty) {
merged.recHashes.push_back(pdbHash); merged.recHashes.push_back(pdbHash);
// Retain a mapping from PDB function id to PDB function type. This mapping is // Retain a mapping from PDB function id to PDB function type. This mapping is
// used during symbol procesing to rewrite S_GPROC32_ID symbols to S_GPROC32 // used during symbol processing to rewrite S_GPROC32_ID symbols to S_GPROC32
// symbols. // symbols.
if (ty.kind() == LF_FUNC_ID || ty.kind() == LF_MFUNC_ID) { if (ty.kind() == LF_FUNC_ID || ty.kind() == LF_MFUNC_ID) {
bool success = ty.length() >= 12; bool success = ty.length() >= 12;
@ -732,7 +732,7 @@ void TypeServerSource::loadGHashes() {
return; return;
Expected<pdb::TpiStream &> expectedIpi = pdbFile.getPDBIpiStream(); Expected<pdb::TpiStream &> expectedIpi = pdbFile.getPDBIpiStream();
if (auto e = expectedIpi.takeError()) if (auto e = expectedIpi.takeError())
fatal("error retreiving IPI stream: " + toString(std::move(e))); fatal("error retrieving IPI stream: " + toString(std::move(e)));
ipiSrc->assignGHashesFromVector( ipiSrc->assignGHashesFromVector(
GloballyHashedType::hashIds(expectedIpi->typeArray(), ghashes)); GloballyHashedType::hashIds(expectedIpi->typeArray(), ghashes));