From: Aaron Ballman Date: Wed, 9 Apr 2014 17:55:04 +0000 (+0000) Subject: Cannot have the base class destructor be private (or explicitly deleted); fixing... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc18b95ae140feaee1387ebd06e962a4e066ecec;p=clang Cannot have the base class destructor be private (or explicitly deleted); fixing the build bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205916 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h index 3938de66dc..4bb357df8f 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyTIL.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyTIL.h @@ -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.