mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -556,7 +556,7 @@ private:
|
||||
// they both point to the same alloca.
|
||||
bool Inserted;
|
||||
SmallDenseMap<Instruction *, unsigned>::iterator MTPI;
|
||||
llvm::tie(MTPI, Inserted) =
|
||||
std::tie(MTPI, Inserted) =
|
||||
MemTransferSliceMap.insert(std::make_pair(&II, S.Slices.size()));
|
||||
unsigned PrevIdx = MTPI->second;
|
||||
if (!Inserted) {
|
||||
@@ -615,7 +615,7 @@ private:
|
||||
Size = 0;
|
||||
do {
|
||||
Instruction *I, *UsedI;
|
||||
llvm::tie(UsedI, I) = Uses.pop_back_val();
|
||||
std::tie(UsedI, I) = Uses.pop_back_val();
|
||||
|
||||
if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
|
||||
Size = std::max(Size, DL.getTypeStoreSize(LI->getType()));
|
||||
|
Reference in New Issue
Block a user