projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Add unit tests for OwningPtr<T> in preparation for changes to make
[oota-llvm.git]
/
unittests
/
ADT
/
SparseSetTest.cpp
diff --git
a/unittests/ADT/SparseSetTest.cpp
b/unittests/ADT/SparseSetTest.cpp
index a6ea7572ce4483cec9fac285f3fc417afb30376f..eb0e0db283b774583f28088175b6b52b6b20b4ed 100644
(file)
--- a/
unittests/ADT/SparseSetTest.cpp
+++ b/
unittests/ADT/SparseSetTest.cpp
@@
-161,7
+161,7
@@
TEST(SparseSetTest, MultipleEntrySet) {
struct Alt {
unsigned Value;
explicit Alt(unsigned x) : Value(x) {}
- unsigned getSparseSet
Key
() const { return Value - 1000; }
+ unsigned getSparseSet
Index
() const { return Value - 1000; }
};
TEST(SparseSetTest, AltStructSet) {