projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extend StringRef's edit-distance algorithm to permit an upper bound on the allowed...
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
ImmutableSet.h
diff --git
a/include/llvm/ADT/ImmutableSet.h
b/include/llvm/ADT/ImmutableSet.h
index 65e70e279ab32e64c4d255d3aa834ee9e3416a07..70c3caf2a06117aadd75224250de4af3a4901612 100644
(file)
--- a/
include/llvm/ADT/ImmutableSet.h
+++ b/
include/llvm/ADT/ImmutableSet.h
@@
-189,6
+189,8
@@
public:
unsigned verify() const {
unsigned HL = getLeft() ? getLeft()->verify() : 0;
unsigned HR = getRight() ? getRight()->verify() : 0;
+ (void) HL;
+ (void) HR;
assert(getHeight() == ( HL > HR ? HL : HR ) + 1
&& "Height calculation wrong");