fix a comment bug Reid noticed
[oota-llvm.git] / include / llvm / ADT / FoldingSet.h
index d8671fb791908fbea53c35dc9de435ff3cba7ac4..e6ded76f260d2e404a74b5ac19075a096af9249b 100644 (file)
@@ -224,7 +224,8 @@ typedef FoldingSetImpl::NodeID FoldingSetNodeID;
 ///
 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 @@ public:
   /// 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));
   }
 };