Use '= default' to define a trivial default constructor.
using ValueType = void;
using AbstractTy = AbstractAttribute;
- constexpr Attribute() {}
+ constexpr Attribute() = default;
/* implicit */ Attribute(const ImplType *impl)
: impl(const_cast<ImplType *>(impl)) {}
public:
using ImplType = detail::IntegerSetStorage;
- constexpr IntegerSet() {}
+ constexpr IntegerSet() = default;
explicit IntegerSet(ImplType *set) : set(set) {}
static IntegerSet get(unsigned dimCount, unsigned symbolCount,
protected:
/// Initialize the printer with no internal implementation. In this case, all
/// virtual methods of this class must be overriden.
- AsmPrinter() {}
+ AsmPrinter() = default;
private:
AsmPrinter(const AsmPrinter &) = delete;
using AbstractTy = AbstractType;
- constexpr Type() {}
+ constexpr Type() = default;
/* implicit */ Type(const ImplType *impl)
: impl(const_cast<ImplType *>(impl)) {}