summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-06-20 09:18:37 +0000
committerClement Courbet <courbet@google.com>2018-06-20 09:18:37 +0000
commite4f885b5a275205e6d80ddee7f9e66f00f3fd070 (patch)
tree673a27cf3e30b3a7042a8ac0cde000034efb6302 /llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
parent2c409702a93d7cdef4b50d769e141491b655c469 (diff)
downloadbcm5719-llvm-e4f885b5a275205e6d80ddee7f9e66f00f3fd070.tar.gz
bcm5719-llvm-e4f885b5a275205e6d80ddee7f9e66f00f3fd070.zip
[llvm-exegesis] Remove noexcept in r335105.
gcc checks for transitivity (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53903) llvm-svn: 335109
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