[llvm-commits] [llvm] r48763 - /llvm/trunk/include/llvm/Bitcode/Serialize.h
Sam Bishop
sam at bishop.dhs.org
Mon Mar 24 21:41:18 PDT 2008
Author: sbishop
Date: Mon Mar 24 23:41:18 2008
New Revision: 48763
URL: http://llvm.org/viewvc/llvm-project?rev=48763&view=rev
Log:
Make a note of the fact that EmitOwnedPtr() has nothing to do with the
OwningPtr<> class.
Modified:
llvm/trunk/include/llvm/Bitcode/Serialize.h
Modified: llvm/trunk/include/llvm/Bitcode/Serialize.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/Serialize.h?rev=48763&r1=48762&r2=48763&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Bitcode/Serialize.h (original)
+++ llvm/trunk/include/llvm/Bitcode/Serialize.h Mon Mar 24 23:41:18 2008
@@ -57,6 +57,8 @@
template <typename T>
inline void EmitRef(const T& ref) { EmitPtr(&ref); }
+ // Emit a pointer and the object pointed to. (This has no relation to the
+ // OwningPtr<> class.)
template <typename T>
inline void EmitOwnedPtr(T* ptr) {
EmitPtr(ptr);
More information about the llvm-commits
mailing list