llvm.org GIT mirror llvm / 32f3bd4
clean up comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33566 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
223223 ///
224224 template class FoldingSet : public FoldingSetImpl {
225225 private:
226 /// GetNodeProfile - Each instantiatation of the FoldingSet
226 /// GetNodeProfile - Each instantiatation of the FoldingSet needs to provide a
227 /// way to convert nodes into a unique specifier.
227228 virtual void GetNodeProfile(NodeID &ID, Node *N) const {
228229 T *TN = static_cast(N);
229230 TN->Profile(ID);
245246 /// return it. If not, return the insertion token that will make insertion
246247 /// faster.
247248 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
248 return static_cast(FoldingSetImpl::FindNodeOrInsertPos(ID,
249 InsertPos));
249 return static_cast(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos));
250250 }
251251 };
252252