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:
c529168
)
Add Profile method to ImmutableList.
author
Zhongxing Xu
<xuzhongxing@gmail.com>
Sat, 15 Nov 2008 09:26:02 +0000
(09:26 +0000)
committer
Zhongxing Xu
<xuzhongxing@gmail.com>
Sat, 15 Nov 2008 09:26:02 +0000
(09:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59362
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ImmutableList.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ImmutableList.h
b/include/llvm/ADT/ImmutableList.h
index
baf86da
..
21b07e7
100644
(file)
--- a/
include/llvm/ADT/ImmutableList.h
+++ b/
include/llvm/ADT/ImmutableList.h
@@
-123,6
+123,10
@@
public:
ImmutableList getTail() {
return X ? X->getTail() : 0;
}
+
+ void Profile(FoldingSetNodeID& ID) const {
+ ID.AddPointer(X);
+ }
};
template <typename T>