projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f729d6
)
Make a note of the fact that EmitOwnedPtr() has nothing to do with the
author
Sam Bishop
<sam@bishop.dhs.org>
Tue, 25 Mar 2008 04:41:18 +0000
(
04:41
+0000)
committer
Sam Bishop
<sam@bishop.dhs.org>
Tue, 25 Mar 2008 04:41:18 +0000
(
04:41
+0000)
OwningPtr<> class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48763
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Bitcode/Serialize.h
patch
|
blob
|
history
diff --git
a/include/llvm/Bitcode/Serialize.h
b/include/llvm/Bitcode/Serialize.h
index b493c571620c552303c83d25b76faac3b2d736d2..eae9e7cdc8918ffa796869918c0e64e582640064 100644
(file)
--- 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);