Use an explicitly defaulted constructor.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 May 2015 18:31:17 +0000 (18:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 May 2015 18:31:17 +0000 (18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238591 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCSymbol.h

index 15ca057e82c9bdcfce4c644572cad1bf203aeca3..61b139510e303684aa13d20f7b00bc2ed53b2791 100644 (file)
@@ -40,7 +40,7 @@ class MCSymbolData {
   uint32_t Flags = 0;
 
 public:
-  MCSymbolData() {}
+  MCSymbolData() = default;
 
   MCFragment *getFragment() const { return Fragment.getPointer(); }
   void setFragment(MCFragment *Value) { Fragment.setPointer(Value); }