explicit FoldingSetBase(unsigned Log2InitSize = 6);
FoldingSetBase(FoldingSetBase &&Arg);
FoldingSetBase &operator=(FoldingSetBase &&RHS);
- ~FoldingSetBase();
+ virtual ~FoldingSetBase();
public:
//===--------------------------------------------------------------------===//
Entry(Entry &&) = default;
Entry &operator=(const Entry &) = default;
Entry &operator=(Entry &&) = default;
- ~Entry() = default;
+ virtual ~Entry() = default;
public:
SectionKind Kind;
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
- ~MCSection();
+ virtual ~MCSection() = default;
public:
MCSection(const MCSection &) = delete;
GenericOptionValue() = default;
GenericOptionValue(const GenericOptionValue&) = default;
GenericOptionValue &operator=(const GenericOptionValue &) = default;
- ~GenericOptionValue() = default;
+ virtual ~GenericOptionValue() = default;
private:
virtual void anchor();
std::unique_ptr<Document> &Doc;
SMRange SourceRange;
- ~Node() = default;
+ virtual ~Node() = default;
private:
unsigned int TypeID;
ValueMaterializer() = default;
ValueMaterializer(const ValueMaterializer &) = default;
ValueMaterializer &operator=(const ValueMaterializer &) = default;
- ~ValueMaterializer() = default;
+ virtual ~ValueMaterializer() = default;
public:
/// This method can be implemented to generate a mapped Value on demand. For
bool MCSection::hasEnded() const { return End && End->isInSection(); }
-MCSection::~MCSection() = default;
-
void MCSection::setBundleLockState(BundleLockStateType NewState) {
if (NewState == NotBundleLocked) {
if (BundleLockNestingDepth == 0) {