r205916 - Cannot have the base class destructor be private (or explicitly deleted); fixing the build bots.
Aaron Ballman
aaron at aaronballman.com
Wed Apr 9 10:55:04 PDT 2014
Author: aaronballman
Date: Wed Apr 9 12:55:04 2014
New Revision: 205916
URL: http://llvm.org/viewvc/llvm-project?rev=205916&view=rev
Log:
Cannot have the base class destructor be private (or explicitly deleted); fixing the build bots.
Modified:
cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h?rev=205916&r1=205915&r2=205916&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyTIL.h Wed Apr 9 12:55:04 2014
@@ -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.
More information about the cfe-commits
mailing list