From: Sam Bishop Date: Tue, 25 Mar 2008 04:41:18 +0000 (+0000) Subject: Make a note of the fact that EmitOwnedPtr() has nothing to do with the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e62683d3fc0ba2dbb04846e962afba4a67e9ba4e;p=oota-llvm.git Make a note of the fact that EmitOwnedPtr() has nothing to do with the OwningPtr<> class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48763 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Bitcode/Serialize.h b/include/llvm/Bitcode/Serialize.h index b493c571620..eae9e7cdc89 100644 --- a/include/llvm/Bitcode/Serialize.h +++ b/include/llvm/Bitcode/Serialize.h @@ -57,6 +57,8 @@ public: template 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 inline void EmitOwnedPtr(T* ptr) { EmitPtr(ptr);