follow llvm mainline, where PointerLikeTypeInfo got renamed

to PointerLikeTypeTraits.

llvm-svn: 67974
This commit is contained in:
Chris Lattner 2009-03-29 00:39:47 +00:00
parent a00f0d7e4c
commit 22d059dbde
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ using llvm::dyn_cast_or_null;
namespace llvm {
template <typename T>
class PointerLikeTypeInfo;
class PointerLikeTypeTraits;
}
namespace clang {
@ -225,7 +225,7 @@ template<> struct simplify_type< ::clang::QualType>
// Teach SmallPtrSet that QualType is "basically a pointer".
template<>
class PointerLikeTypeInfo<clang::QualType> {
class PointerLikeTypeTraits<clang::QualType> {
public:
static inline void *getAsVoidPointer(clang::QualType P) {
return P.getAsOpaquePtr();

View File

@ -20,7 +20,7 @@
namespace llvm {
template <typename T>
class PointerLikeTypeInfo;
class PointerLikeTypeTraits;
}
namespace clang {
@ -48,7 +48,7 @@ namespace clang {
namespace llvm {
template <int UID>
class PointerLikeTypeInfo<clang::OpaquePtr<UID> > {
class PointerLikeTypeTraits<clang::OpaquePtr<UID> > {
public:
static inline void *getAsVoidPointer(clang::OpaquePtr<UID> P) {
// FIXME: Doesn't work? return P.getAs< void >();