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:
0dbe54e
)
Test commit: Fix two -Asserts mode warnings in StringMap.h.
author
Frits van Bommel
<fvbommel@gmail.com>
Sat, 20 Nov 2010 18:37:24 +0000
(18:37 +0000)
committer
Frits van Bommel
<fvbommel@gmail.com>
Sat, 20 Nov 2010 18:37:24 +0000
(18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119907
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/StringMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/StringMap.h
b/include/llvm/ADT/StringMap.h
index d047a420790ba805960d3c85603169ef6d4e58d6..752f55c226458d8bede7980ca52df411962c30cb 100644
(file)
--- a/
include/llvm/ADT/StringMap.h
+++ b/
include/llvm/ADT/StringMap.h
@@
-265,10
+265,12
@@
public:
: StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {
assert(RHS.empty() &&
"Copy ctor from non-empty stringmap not implemented yet!");
+ (void)RHS;
}
void operator=(const StringMap &RHS) {
assert(RHS.empty() &&
"assignment from non-empty stringmap not implemented yet!");
+ (void)RHS;
clear();
}