OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee42fd3
)
Add addElement().
author
Devang Patel
<dpatel@apple.com>
Thu, 30 Jul 2009 23:57:23 +0000
(23:57 +0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 30 Jul 2009 23:57:23 +0000
(23:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77645
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Metadata.h
patch
|
blob
|
history
diff --git
a/include/llvm/Metadata.h
b/include/llvm/Metadata.h
index
c426449
..
7526919
100644
(file)
--- a/
include/llvm/Metadata.h
+++ b/
include/llvm/Metadata.h
@@
-212,6
+212,11
@@
public:
return Node.size();
}
+ /// addElement - Add metadata element.
+ void addElement(MetadataBase *M) {
+ Node.push_back(WeakMetadataVH(M));
+ }
+
bool elem_empty() const {
return Node.empty();
}