[cfe-commits] r67974 - in /cfe/trunk/include/clang: AST/Type.h Parse/Ownership.h

Chris Lattner sabre at nondot.org
Sat Mar 28 17:39:47 PDT 2009


Author: lattner
Date: Sat Mar 28 19:39:47 2009
New Revision: 67974

URL: http://llvm.org/viewvc/llvm-project?rev=67974&view=rev
Log:
follow llvm mainline, where PointerLikeTypeInfo got renamed
to PointerLikeTypeTraits.

Modified:
    cfe/trunk/include/clang/AST/Type.h
    cfe/trunk/include/clang/Parse/Ownership.h

Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=67974&r1=67973&r2=67974&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Sat Mar 28 19:39:47 2009
@@ -29,7 +29,7 @@
 
 namespace llvm {
   template <typename T>
-  class PointerLikeTypeInfo;
+  class PointerLikeTypeTraits;
 }
 
 namespace clang {
@@ -225,7 +225,7 @@
   
 // 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();

Modified: cfe/trunk/include/clang/Parse/Ownership.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Ownership.h?rev=67974&r1=67973&r2=67974&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/Ownership.h (original)
+++ cfe/trunk/include/clang/Parse/Ownership.h Sat Mar 28 19:39:47 2009
@@ -20,7 +20,7 @@
 
 namespace llvm {
   template <typename T>
-  class PointerLikeTypeInfo;
+  class PointerLikeTypeTraits;
 }
 
 namespace clang {
@@ -48,7 +48,7 @@
 
 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 >();





More information about the cfe-commits mailing list