@@ -671,7 +671,7 @@ const StringInit *StringInit::get(RecordKeeper &RK, StringRef V,
671671 detail::RecordKeeperImpl &RKImpl = RK.getImpl ();
672672 auto &InitMap = Fmt == SF_String ? RKImpl.StringInitStringPool
673673 : RKImpl.StringInitCodePool ;
674- auto &Entry = *InitMap.insert (std::make_pair (V, nullptr )).first ;
674+ auto &Entry = *InitMap.insert (std::pair (V, nullptr )).first ;
675675 if (!Entry.second )
676676 Entry.second = new (RKImpl.Allocator ) StringInit (RK, Entry.getKey (), Fmt);
677677 return Entry.second ;
@@ -1674,7 +1674,7 @@ static const Init *ForeachDagApply(const Init *LHS, const DagInit *MHSd,
16741674 else
16751675 NewArg = ItemApply (LHS, Arg, RHS, CurRec);
16761676
1677- NewArgs.push_back (std::make_pair (NewArg, ArgName));
1677+ NewArgs.push_back (std::pair (NewArg, ArgName));
16781678 if (Arg != NewArg)
16791679 Change = true ;
16801680 }
@@ -2260,7 +2260,7 @@ const VarInit *VarInit::get(StringRef VN, const RecTy *T) {
22602260
22612261const VarInit *VarInit::get (const Init *VN, const RecTy *T) {
22622262 detail::RecordKeeperImpl &RK = T->getRecordKeeper ().getImpl ();
2263- VarInit *&I = RK.TheVarInitPool [std::make_pair (T, VN)];
2263+ VarInit *&I = RK.TheVarInitPool [std::pair (T, VN)];
22642264 if (!I)
22652265 I = new (RK.Allocator ) VarInit (VN, T);
22662266 return I;
@@ -2285,7 +2285,7 @@ const Init *VarInit::resolveReferences(Resolver &R) const {
22852285
22862286const VarBitInit *VarBitInit::get (const TypedInit *T, unsigned B) {
22872287 detail::RecordKeeperImpl &RK = T->getRecordKeeper ().getImpl ();
2288- VarBitInit *&I = RK.TheVarBitInitPool [std::make_pair (T, B)];
2288+ VarBitInit *&I = RK.TheVarBitInitPool [std::pair (T, B)];
22892289 if (!I)
22902290 I = new (RK.Allocator ) VarBitInit (T, B);
22912291 return I;
@@ -2461,7 +2461,7 @@ std::string VarDefInit::getAsString() const {
24612461
24622462const FieldInit *FieldInit::get (const Init *R, const StringInit *FN) {
24632463 detail::RecordKeeperImpl &RK = R->getRecordKeeper ().getImpl ();
2464- FieldInit *&I = RK.TheFieldInitPool [std::make_pair (R, FN)];
2464+ FieldInit *&I = RK.TheFieldInitPool [std::pair (R, FN)];
24652465 if (!I)
24662466 I = new (RK.Allocator ) FieldInit (R, FN);
24672467 return I;
0 commit comments