[llvm] r273473 - Update header documentation for API deliberately made public

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 13:31:12 PDT 2016


Author: dannyb
Date: Wed Jun 22 15:31:12 2016
New Revision: 273473

URL: http://llvm.org/viewvc/llvm-project?rev=273473&view=rev
Log:
Update header documentation for API deliberately made public

Modified:
    llvm/trunk/include/llvm/Support/GenericDomTree.h

Modified: llvm/trunk/include/llvm/Support/GenericDomTree.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GenericDomTree.h?rev=273473&r1=273472&r2=273473&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GenericDomTree.h (original)
+++ llvm/trunk/include/llvm/Support/GenericDomTree.h Wed Jun 22 15:31:12 2016
@@ -138,8 +138,9 @@ public:
     }
   }
 
-  /// getDFSNumIn/getDFSNumOut - These are an internal implementation detail, do
-  /// not call them.
+  /// getDFSNumIn/getDFSNumOut - These return the DFS visitation order for nodes
+  /// in the dominator tree. They are only guaranteed valid if
+  /// updateDFSNumbers() has been called.
   unsigned getDFSNumIn() const { return DFSNumIn; }
   unsigned getDFSNumOut() const { return DFSNumOut; }
 




More information about the llvm-commits mailing list