[llvm] r243823 - Workaround some compilers that give a stricter throw spec to = default than implicit dtors
David Blaikie
dblaikie at gmail.com
Fri Jul 31 22:10:37 PDT 2015
Author: dblaikie
Date: Sat Aug 1 00:10:37 2015
New Revision: 243823
URL: http://llvm.org/viewvc/llvm-project?rev=243823&view=rev
Log:
Workaround some compilers that give a stricter throw spec to = default than implicit dtors
Modified:
llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
Modified: llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h?rev=243823&r1=243822&r2=243823&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h Sat Aug 1 00:10:37 2015
@@ -40,7 +40,7 @@ protected:
MCParsedAsmOperand() = default;
public:
- virtual ~MCParsedAsmOperand() = default;
+ virtual ~MCParsedAsmOperand() {}
void setConstraint(StringRef C) { Constraint = C.str(); }
StringRef getConstraint() { return Constraint; }
More information about the llvm-commits
mailing list