summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
index 5ea45c9efcb..acfa82565ea 100644
--- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
+++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
@@ -86,11 +86,11 @@ Instruction::Instruction(const llvm::MCInstrDesc &MCInstrDesc,
InstructionInstance::InstructionInstance(const Instruction &Instr)
: Instr(Instr), VariableValues(Instr.Variables.size()) {}
-InstructionInstance::InstructionInstance(InstructionInstance &&) noexcept =
+InstructionInstance::InstructionInstance(InstructionInstance &&) =
default;
InstructionInstance &InstructionInstance::
-operator=(InstructionInstance &&) noexcept = default;
+operator=(InstructionInstance &&) = default;
unsigned InstructionInstance::getOpcode() const {
return Instr.Description->getOpcode();
@@ -135,7 +135,8 @@ llvm::MCInst InstructionInstance::randomizeUnsetVariablesAndBuild() {
SnippetPrototype::SnippetPrototype(SnippetPrototype &&) = default;
-SnippetPrototype &SnippetPrototype::operator=(SnippetPrototype &&) = default;
+SnippetPrototype &SnippetPrototype::
+operator=(SnippetPrototype &&) = default;
bool RegisterOperandAssignment::
operator==(const RegisterOperandAssignment &Other) const {
OpenPOWER on IntegriCloud