From: Chris Lattner Date: Sun, 29 Mar 2009 00:39:47 +0000 (+0000) Subject: follow llvm mainline, where PointerLikeTypeInfo got renamed X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daae940507f2e93c6fa12e8062fa958e34cc2d1c;p=clang follow llvm mainline, where PointerLikeTypeInfo got renamed to PointerLikeTypeTraits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 7400fe9ed3..4a3dcc1170 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -29,7 +29,7 @@ using llvm::dyn_cast_or_null; namespace llvm { template - 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 { +class PointerLikeTypeTraits { public: static inline void *getAsVoidPointer(clang::QualType P) { return P.getAsOpaquePtr(); diff --git a/include/clang/Parse/Ownership.h b/include/clang/Parse/Ownership.h index 496138d380..904676d873 100644 --- a/include/clang/Parse/Ownership.h +++ b/include/clang/Parse/Ownership.h @@ -20,7 +20,7 @@ namespace llvm { template - class PointerLikeTypeInfo; + class PointerLikeTypeTraits; } namespace clang { @@ -48,7 +48,7 @@ namespace clang { namespace llvm { template - class PointerLikeTypeInfo > { + class PointerLikeTypeTraits > { public: static inline void *getAsVoidPointer(clang::OpaquePtr P) { // FIXME: Doesn't work? return P.getAs< void >();