From 8e8ec41bea569776673f075ef8dd539702982fd8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 27 Jan 2007 01:14:20 +0000 Subject: [PATCH] clean up comment llvm-svn: 33566 --- include/llvm/ADT/FoldingSet.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h index d8671fb7919..e6ded76f260 100644 --- a/include/llvm/ADT/FoldingSet.h +++ b/include/llvm/ADT/FoldingSet.h @@ -224,7 +224,8 @@ typedef FoldingSetImpl::NodeID FoldingSetNodeID; /// template 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(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(FoldingSetImpl::FindNodeOrInsertPos(ID, - InsertPos)); + return static_cast(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos)); } };