Remove redundant template partial specilization.

llvm-svn: 131402
This commit is contained in:
Zhongxing Xu 2011-05-16 12:42:22 +00:00
parent c0d4cb17c1
commit 56cf054a35
1 changed files with 1 additions and 8 deletions

View File

@ -671,17 +671,10 @@ public:
// Partial specializations of FoldingSetTrait.
template<typename T> struct FoldingSetTrait<T*> {
static inline void Profile(const T *X, FoldingSetNodeID &ID) {
static inline void Profile(T *X, FoldingSetNodeID &ID) {
ID.AddPointer(X);
}
};
template<typename T> struct FoldingSetTrait<const T*> {
static inline void Profile(const T *X, FoldingSetNodeID &ID) {
ID.AddPointer(X);
}
};
} // End of namespace llvm.
#endif