mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Remove redundant template partial specilization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131402 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -671,17 +671,10 @@ public:
|
|||||||
// Partial specializations of FoldingSetTrait.
|
// Partial specializations of FoldingSetTrait.
|
||||||
|
|
||||||
template<typename T> struct FoldingSetTrait<T*> {
|
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);
|
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.
|
} // End of namespace llvm.
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user