mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
clean up comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87c178c41e
commit
32f3bd43db
@ -224,7 +224,8 @@ typedef FoldingSetImpl::NodeID FoldingSetNodeID;
|
|||||||
///
|
///
|
||||||
template<class T> class FoldingSet : public FoldingSetImpl {
|
template<class T> class FoldingSet : public FoldingSetImpl {
|
||||||
private:
|
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 {
|
virtual void GetNodeProfile(NodeID &ID, Node *N) const {
|
||||||
T *TN = static_cast<T *>(N);
|
T *TN = static_cast<T *>(N);
|
||||||
TN->Profile(ID);
|
TN->Profile(ID);
|
||||||
@ -246,8 +247,7 @@ public:
|
|||||||
/// return it. If not, return the insertion token that will make insertion
|
/// return it. If not, return the insertion token that will make insertion
|
||||||
/// faster.
|
/// faster.
|
||||||
T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
|
T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
|
||||||
return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID,
|
return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos));
|
||||||
InsertPos));
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user