diff options
author | Jay Foad <jay.foad@amd.com> | 2024-02-14 13:16:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 13:16:20 +0000 |
commit | f723260a80baee08394093fa06777dcc55b3ee4a (patch) | |
tree | 039a74f1a8bdee5825166ca3d001cfb89b788f95 /llvm/utils/TableGen/X86DisassemblerTables.cpp | |
parent | 03232350536655234a30eca17ea56c8cb636831c (diff) | |
download | llvm-f723260a80baee08394093fa06777dcc55b3ee4a.zip llvm-f723260a80baee08394093fa06777dcc55b3ee4a.tar.gz llvm-f723260a80baee08394093fa06777dcc55b3ee4a.tar.bz2 |
[TableGen] Stop using make_pair and make_tuple. NFC. (#81730)
These are unnecessary since C++17.
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r-- | llvm/utils/TableGen/X86DisassemblerTables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerTables.cpp b/llvm/utils/TableGen/X86DisassemblerTables.cpp index 588d9b2..a48b9cf 100644 --- a/llvm/utils/TableGen/X86DisassemblerTables.cpp +++ b/llvm/utils/TableGen/X86DisassemblerTables.cpp @@ -845,7 +845,7 @@ void DisassemblerTables::emitInstructionInfo(raw_ostream &o, for (auto Operand : InstructionSpecifiers[Index].operands) { OperandEncoding Encoding = (OperandEncoding)Operand.encoding; OperandType Type = (OperandType)Operand.type; - OperandList.push_back(std::make_pair(Encoding, Type)); + OperandList.push_back(std::pair(Encoding, Type)); } unsigned &N = OperandSets[OperandList]; if (N != 0) @@ -877,7 +877,7 @@ void DisassemblerTables::emitInstructionInfo(raw_ostream &o, for (auto Operand : InstructionSpecifiers[index].operands) { OperandEncoding Encoding = (OperandEncoding)Operand.encoding; OperandType Type = (OperandType)Operand.type; - OperandList.push_back(std::make_pair(Encoding, Type)); + OperandList.push_back(std::pair(Encoding, Type)); } o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; |