forked from OSchip/llvm-project
Revert rGd5d8569df14e95e2c53d167bd1b37995bcbec565 "Fix static analysis warnings about classes with virtual methods not having virtual destructors"
This reverts commit d5d8569df1
.
This commit is contained in:
parent
d5d8569df1
commit
f9a8650578
|
@ -126,7 +126,7 @@ protected:
|
||||||
explicit FoldingSetBase(unsigned Log2InitSize = 6);
|
explicit FoldingSetBase(unsigned Log2InitSize = 6);
|
||||||
FoldingSetBase(FoldingSetBase &&Arg);
|
FoldingSetBase(FoldingSetBase &&Arg);
|
||||||
FoldingSetBase &operator=(FoldingSetBase &&RHS);
|
FoldingSetBase &operator=(FoldingSetBase &&RHS);
|
||||||
virtual ~FoldingSetBase();
|
~FoldingSetBase();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
|
|
|
@ -46,7 +46,7 @@ public:
|
||||||
Entry(Entry &&) = default;
|
Entry(Entry &&) = default;
|
||||||
Entry &operator=(const Entry &) = default;
|
Entry &operator=(const Entry &) = default;
|
||||||
Entry &operator=(Entry &&) = default;
|
Entry &operator=(Entry &&) = default;
|
||||||
virtual ~Entry() = default;
|
~Entry() = default;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -104,7 +104,7 @@ protected:
|
||||||
SectionKind Kind;
|
SectionKind Kind;
|
||||||
|
|
||||||
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
|
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin);
|
||||||
virtual ~MCSection() = default;
|
~MCSection();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MCSection(const MCSection &) = delete;
|
MCSection(const MCSection &) = delete;
|
||||||
|
|
|
@ -518,7 +518,7 @@ protected:
|
||||||
GenericOptionValue() = default;
|
GenericOptionValue() = default;
|
||||||
GenericOptionValue(const GenericOptionValue&) = default;
|
GenericOptionValue(const GenericOptionValue&) = default;
|
||||||
GenericOptionValue &operator=(const GenericOptionValue &) = default;
|
GenericOptionValue &operator=(const GenericOptionValue &) = default;
|
||||||
virtual ~GenericOptionValue() = default;
|
~GenericOptionValue() = default;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void anchor();
|
virtual void anchor();
|
||||||
|
|
|
@ -175,7 +175,7 @@ protected:
|
||||||
std::unique_ptr<Document> &Doc;
|
std::unique_ptr<Document> &Doc;
|
||||||
SMRange SourceRange;
|
SMRange SourceRange;
|
||||||
|
|
||||||
virtual ~Node() = default;
|
~Node() = default;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned int TypeID;
|
unsigned int TypeID;
|
||||||
|
|
|
@ -54,7 +54,7 @@ protected:
|
||||||
ValueMaterializer() = default;
|
ValueMaterializer() = default;
|
||||||
ValueMaterializer(const ValueMaterializer &) = default;
|
ValueMaterializer(const ValueMaterializer &) = default;
|
||||||
ValueMaterializer &operator=(const ValueMaterializer &) = default;
|
ValueMaterializer &operator=(const ValueMaterializer &) = default;
|
||||||
virtual ~ValueMaterializer() = default;
|
~ValueMaterializer() = default;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// This method can be implemented to generate a mapped Value on demand. For
|
/// This method can be implemented to generate a mapped Value on demand. For
|
||||||
|
|
|
@ -32,6 +32,8 @@ MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
|
||||||
|
|
||||||
bool MCSection::hasEnded() const { return End && End->isInSection(); }
|
bool MCSection::hasEnded() const { return End && End->isInSection(); }
|
||||||
|
|
||||||
|
MCSection::~MCSection() = default;
|
||||||
|
|
||||||
void MCSection::setBundleLockState(BundleLockStateType NewState) {
|
void MCSection::setBundleLockState(BundleLockStateType NewState) {
|
||||||
if (NewState == NotBundleLocked) {
|
if (NewState == NotBundleLocked) {
|
||||||
if (BundleLockNestingDepth == 0) {
|
if (BundleLockNestingDepth == 0) {
|
||||||
|
|
Loading…
Reference in New Issue