[cfe-commits] r120148 - /cfe/trunk/include/clang/Sema/Ownership.h

Benjamin Kramer benny.kra at googlemail.com
Thu Nov 25 09:32:32 PST 2010


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; };
 }
 
 





More information about the cfe-commits mailing list