diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-27 01:14:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-27 01:14:20 +0000 |
commit | 32f3bd43dbf4082ed05478c6ef69727925ab1646 (patch) | |
tree | 31f8632ba32d6d52f1232af382756c5870b6086e /include/llvm/ADT/FoldingSet.h | |
parent | 87c178c41eb1656f6f387d5708f5c423d6679b98 (diff) | |
download | llvm-32f3bd43dbf4082ed05478c6ef69727925ab1646.tar.gz llvm-32f3bd43dbf4082ed05478c6ef69727925ab1646.tar.bz2 llvm-32f3bd43dbf4082ed05478c6ef69727925ab1646.tar.xz |
clean up comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/FoldingSet.h')
-rw-r--r-- | include/llvm/ADT/FoldingSet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h index d8671fb791..e6ded76f26 100644 --- a/include/llvm/ADT/FoldingSet.h +++ b/include/llvm/ADT/FoldingSet.h @@ -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)); } }; |