[objc-arc-opts] Add comment to BBState making it clear that get{TopDown,BottomUp...
authorMichael Gottesman <mgottesman@apple.com>
Mon, 13 May 2013 19:40:39 +0000 (19:40 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Mon, 13 May 2013 19:40:39 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181726 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/ObjCARC/ObjCARCOpts.cpp

index 6d2d630bb6fd092dadf81b488c53b8e14bca9501..d2d8325d1fcf1013ceecbad2e92c3ac8eee6ff8b 100644 (file)
@@ -587,10 +587,16 @@ namespace {
     /// definition.
     void SetAsExit()  { BottomUpPathCount = 1; }
 
+    /// Attempt to find the PtrState object describing the top down state for
+    /// pointer Arg. Return a new initialized PtrState describing the top down
+    /// state for Arg if we do not find one.
     PtrState &getPtrTopDownState(const Value *Arg) {
       return PerPtrTopDown[Arg];
     }
 
+    /// Attempt to find the PtrState object describing the bottom up state for
+    /// pointer Arg. Return a new initialized PtrState describing the bottom up
+    /// state for Arg if we do not find one.
     PtrState &getPtrBottomUpState(const Value *Arg) {
       return PerPtrBottomUp[Arg];
     }