Modified ImmutableSet/ImmutableMap to use FoldingSet profiling using

FoldingSetTrait instead of directly calling a 'Profile' method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2008-01-19 04:51:55 +00:00
parent 4048a08284
commit 3cf8bec783

View File

@ -717,8 +717,8 @@ struct ImutProfileInfo {
typedef const T& value_type_ref;
static inline void Profile(FoldingSetNodeID& ID, value_type_ref X) {
X.Profile(ID);
}
FoldingSetTrait<T>::Profile(X,ID);
}
};
/// Profile traits for integers.