]> granicus.if.org Git - clang/commitdiff
Cannot have the base class destructor be private (or explicitly deleted); fixing...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 9 Apr 2014 17:55:04 +0000 (17:55 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 9 Apr 2014 17:55:04 +0000 (17:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205916 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyTIL.h

index 3938de66dc4db67aab525a375239bbb39a2f6ea3..4bb357df8f780a1b2ab946de011120cd8d1f2be5 100644 (file)
@@ -220,10 +220,6 @@ protected:
   unsigned short Flags;
 
 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 objects must be created in an arena and cannot be deleted.