[cfe-commits] r73645 - /cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h

Ted Kremenek kremenek at apple.com
Wed Jun 17 15:06:03 PDT 2009


Author: kremenek
Date: Wed Jun 17 17:06:03 2009
New Revision: 73645

URL: http://llvm.org/viewvc/llvm-project?rev=73645&view=rev
Log:
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.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h?rev=73645&r1=73644&r2=73645&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/Environment.h Wed Jun 17 17:06:03 2009
@@ -30,9 +30,8 @@
 class BasicValueFactory;
 class LiveVariables;
 
-class Environment : public llvm::FoldingSetNode {
+class Environment {
 private:
-    
   friend class EnvironmentManager;
   
   // Type definitions.





More information about the cfe-commits mailing list