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:
4cff412
)
Fix warnings from llvm-gcc as seen on darwin10 (10.6).
author
Alex Rosenberg
<alexr@leftfield.org>
Sat, 5 Jan 2013 00:21:12 +0000
(
00:21
+0000)
committer
Alex Rosenberg
<alexr@leftfield.org>
Sat, 5 Jan 2013 00:21:12 +0000
(
00:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171567
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index 31e685f96f4f628d1643576fa9f94727ccc0bcaa..8607fb7e9ccb754c14bac7caa3ce8ab4fdff6af7 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-531,13
+531,13
@@
public:
init(NumInitBuckets);
}
- DenseMap(const DenseMap &other) {
+ DenseMap(const DenseMap &other)
: BaseT()
{
init(0);
copyFrom(other);
}
#if LLVM_HAS_RVALUE_REFERENCES
- DenseMap(DenseMap &&other) {
+ DenseMap(DenseMap &&other)
: BaseT()
{
init(0);
swap(other);
}