forked from OSchip/llvm-project
[llvm-exegesis] Remove noexcept in r335105.
gcc checks for transitivity (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53903) llvm-svn: 335109
This commit is contained in:
parent
2c409702a9
commit
e4f885b5a2
|
@ -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 {
|
||||
|
|
|
@ -88,8 +88,8 @@ struct InstructionInstance {
|
|||
InstructionInstance &operator=(const InstructionInstance &) = delete;
|
||||
|
||||
// Moving is OK.
|
||||
InstructionInstance(InstructionInstance &&) noexcept;
|
||||
InstructionInstance &operator=(InstructionInstance &&) noexcept;
|
||||
InstructionInstance(InstructionInstance &&);
|
||||
InstructionInstance &operator=(InstructionInstance &&);
|
||||
|
||||
unsigned getOpcode() const;
|
||||
llvm::MCOperand &getValueFor(const Variable &Var);
|
||||
|
@ -116,8 +116,8 @@ struct SnippetPrototype {
|
|||
SnippetPrototype &operator=(const SnippetPrototype &) = delete;
|
||||
|
||||
// Moving is OK.
|
||||
SnippetPrototype(SnippetPrototype &&) noexcept;
|
||||
SnippetPrototype &operator=(SnippetPrototype &&) noexcept;
|
||||
SnippetPrototype(SnippetPrototype &&);
|
||||
SnippetPrototype &operator=(SnippetPrototype &&);
|
||||
|
||||
std::string Explanation;
|
||||
std::vector<InstructionInstance> Snippet;
|
||||
|
|
Loading…
Reference in New Issue