diff options
author | Sam Bishop <sam@bishop.dhs.org> | 2008-03-25 04:41:18 +0000 |
---|---|---|
committer | Sam Bishop <sam@bishop.dhs.org> | 2008-03-25 04:41:18 +0000 |
commit | e62683d3fc0ba2dbb04846e962afba4a67e9ba4e (patch) | |
tree | cb3c20234f82ce900ee34430034710cac5651c2f | |
parent | 6f729d601c8a6a9710356aadb42dc8d0efa95bf2 (diff) |
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
-rw-r--r-- | include/llvm/Bitcode/Serialize.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/Serialize.h b/include/llvm/Bitcode/Serialize.h index b493c57162..eae9e7cdc8 100644 --- a/include/llvm/Bitcode/Serialize.h +++ b/include/llvm/Bitcode/Serialize.h @@ -57,6 +57,8 @@ public: 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); |