forked from OSchip/llvm-project
follow llvm mainline, where PointerLikeTypeInfo got renamed
to PointerLikeTypeTraits. llvm-svn: 67974
This commit is contained in:
parent
a00f0d7e4c
commit
22d059dbde
|
@ -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();
|
||||
|
|
|
@ -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 >();
|
||||
|
|
Loading…
Reference in New Issue