Add PostDominatorTree::getDescendants.
[oota-llvm.git] / include / llvm / Analysis / Dominators.h
index 3aa0beb6bb1eb08fa2aad4bfd6286fa71907b3cc..e35e101de3925bdd6662b4987d939c05b3b94a05 100644 (file)
@@ -346,7 +346,7 @@ public:
   DomTreeNodeBase<NodeT> *getRootNode() { return RootNode; }
   const DomTreeNodeBase<NodeT> *getRootNode() const { return RootNode; }
 
-  /// Get all nodes dominated by R, including R itself. Return true on success.
+  /// Get all nodes dominated by R, including R itself.
   void getDescendants(NodeT *R, SmallVectorImpl<NodeT *> &Result) const {
     const DomTreeNodeBase<NodeT> *RN = getNode(R);
     SmallVector<const DomTreeNodeBase<NodeT> *, 8> WL;
@@ -769,7 +769,7 @@ public:
     return DT->getRootNode();
   }
 
-  /// Get all nodes dominated by R, including R itself. Return true on success.
+  /// Get all nodes dominated by R, including R itself.
   void getDescendants(BasicBlock *R,
                      SmallVectorImpl<BasicBlock *> &Result) const {
     DT->getDescendants(R, Result);