]> granicus.if.org Git - clang/commitdiff
Add comments.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 12 Mar 2009 07:54:17 +0000 (07:54 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 12 Mar 2009 07:54:17 +0000 (07:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66782 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/Environment.cpp

index 41adddc360b23ff63bd13949761fe113af2ebee7..2bc071a265ed4b18980826fbba56d019d869fe1c 100644 (file)
@@ -115,6 +115,14 @@ public:
 };
 } // end anonymous namespace
 
+// RemoveDeadBindings:
+//  - Remove subexpression bindings.
+//  - Remove dead block expression bindings.
+//  - Keep live block expression bindings:
+//   - Mark their reachable symbols live in SymbolReaper, 
+//     see ScanReachableSymbols.
+//   - Mark the region in DRoots if the binding is a loc::MemRegionVal.
+
 Environment 
 EnvironmentManager::RemoveDeadBindings(Environment Env, Stmt* Loc,
                                        SymbolReaper& SymReaper,