From c6a4b6b78b9262ad6a343a4edae88611ef970669 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 30 Mar 2009 20:28:50 +0000 Subject: fix the PointerLikeTypeTraits specialization for PointerIntPair to allow the traits to be specified as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68055 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/PointerIntPair.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/llvm/ADT/PointerIntPair.h') diff --git a/include/llvm/ADT/PointerIntPair.h b/include/llvm/ADT/PointerIntPair.h index 19b71d43c9..43a083d21e 100644 --- a/include/llvm/ADT/PointerIntPair.h +++ b/include/llvm/ADT/PointerIntPair.h @@ -125,8 +125,10 @@ struct DenseMapInfo > { }; // Teach SmallPtrSet that PointerIntPair is "basically a pointer". -template -class PointerLikeTypeTraits > { +template +class PointerLikeTypeTraits > { public: static inline void * getAsVoidPointer(const PointerIntPair &P) { -- cgit v1.2.3