From: Ted Kremenek Date: Wed, 17 Jun 2009 22:06:03 +0000 (+0000) Subject: Class 'Environment' no longer should subclass llvm::FoldingSetNode. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdf6a56339b3df94d46a49c4977e0a21e8922cf3;p=clang Class 'Environment' no longer should subclass llvm::FoldingSetNode. Environment hasn't been uniqued in a FoldingSet for some time, so this was just wasting a pointer in GRState. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73645 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/Environment.h b/include/clang/Analysis/PathSensitive/Environment.h index fde8b167f3..f94792a0cb 100644 --- a/include/clang/Analysis/PathSensitive/Environment.h +++ b/include/clang/Analysis/PathSensitive/Environment.h @@ -30,9 +30,8 @@ class EnvironmentManager; class BasicValueFactory; class LiveVariables; -class Environment : public llvm::FoldingSetNode { +class Environment { private: - friend class EnvironmentManager; // Type definitions.