Cannot have the base class destructor be private (or explicitly deleted); fixing the build bots.
llvm-svn: 205916
This commit is contained in:
parent
3f993c1320
commit
91b079a9fc
|
@ -220,10 +220,6 @@ protected:
|
||||||
unsigned short Flags;
|
unsigned short Flags;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Note, this cannot be explicitly deleted due to initializers automatically
|
|
||||||
// referencing destructor declarations. However, it does not need to be
|
|
||||||
// defined because that reference does not require an definition.
|
|
||||||
~SExpr();
|
|
||||||
SExpr() = delete;
|
SExpr() = delete;
|
||||||
|
|
||||||
// SExpr objects must be created in an arena and cannot be deleted.
|
// SExpr objects must be created in an arena and cannot be deleted.
|
||||||
|
|
Loading…
Reference in New Issue