projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2fcdf
)
[clangd] Fix ambiguous constructor in DexTest
author
Sam McCall
<sam.mccall@gmail.com>
Thu, 4 Oct 2018 16:05:22 +0000
(16:05 +0000)
committer
Sam McCall
<sam.mccall@gmail.com>
Thu, 4 Oct 2018 16:05:22 +0000
(16:05 +0000)
llvm-svn: 343793
clang-tools-extra/unittests/clangd/DexTests.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/unittests/clangd/DexTests.cpp
b/clang-tools-extra/unittests/clangd/DexTests.cpp
index
d7223ab
..
02eb9a2
100644
(file)
--- a/
clang-tools-extra/unittests/clangd/DexTests.cpp
+++ b/
clang-tools-extra/unittests/clangd/DexTests.cpp
@@
-111,8
+111,8
@@
TEST(DexIterators, AndThreeLists) {
TEST(DexIterators, AndEmpty) {
Corpus C{10000};
- const PostingList L1
({1})
;
- const PostingList L2
({2})
;
+ const PostingList L1
{1}
;
+ const PostingList L2
{2}
;
// These iterators are empty, but the optimizer can't tell.
auto Empty1 = C.intersect(L1.iterator(), L2.iterator());
auto Empty2 = C.intersect(L1.iterator(), L2.iterator());