[llvm-commits] CVS: llvm/include/llvm/ADT/FoldingSet.h

Chris Lattner sabre at nondot.org
Fri Jan 26 17:14:36 PST 2007



Changes in directory llvm/include/llvm/ADT:

FoldingSet.h updated: 1.6 -> 1.7
---
Log message:

clean up comment


---
Diffs of the changes:  (+3 -3)

 FoldingSet.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/ADT/FoldingSet.h
diff -u llvm/include/llvm/ADT/FoldingSet.h:1.6 llvm/include/llvm/ADT/FoldingSet.h:1.7
--- llvm/include/llvm/ADT/FoldingSet.h:1.6	Fri Jan 26 15:48:40 2007
+++ llvm/include/llvm/ADT/FoldingSet.h	Fri Jan 26 19:14:20 2007
@@ -224,7 +224,8 @@
 ///
 template<class T> class FoldingSet : public FoldingSetImpl {
 private:
-  /// GetNodeProfile - Each instantiatation of the FoldingSet 
+  /// GetNodeProfile - Each instantiatation of the FoldingSet needs to provide a
+  /// way to convert nodes into a unique specifier.
   virtual void GetNodeProfile(NodeID &ID, Node *N) const {
     T *TN = static_cast<T *>(N);
     TN->Profile(ID);
@@ -246,8 +247,7 @@
   /// return it.  If not, return the insertion token that will make insertion
   /// faster.
   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
-    return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID,
-                                                                InsertPos));
+    return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos));
   }
 };
 






More information about the llvm-commits mailing list