Author: d0k
Date: Thu Nov 25 11:32:32 2010
New Revision: 120148

URL: http://llvm.org/viewvc/llvm-project?rev=120148&view=rev
Log:
OpaquePtrs are POD-like.

Modified:
    cfe/trunk/include/clang/Sema/Ownership.h

Modified: cfe/trunk/include/clang/Sema/Ownership.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Ownership.h?rev=120148&r1=120147&r2=120148&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Ownership.h (original)
+++ cfe/trunk/include/clang/Sema/Ownership.h Thu Nov 25 11:32:32 2010
@@ -106,6 +106,9 @@
     }
     enum { NumLowBitsAvailable = 0 };
   };
+
+  template <class T>
+  struct isPodLike<clang::OpaquePtr<T> > { static const bool value = true; };
 }
 
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to