[clang-tools-extra] r343796 - [clangd] fix another ambigous constructor in DexTest

Jonas Toth via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 4 09:29:58 PDT 2018


Author: jonastoth
Date: Thu Oct  4 09:29:58 2018
New Revision: 343796

URL: http://llvm.org/viewvc/llvm-project?rev=343796&view=rev
Log:
[clangd] fix another ambigous constructor in DexTest

Modified:
    clang-tools-extra/trunk/unittests/clangd/DexTests.cpp

Modified: clang-tools-extra/trunk/unittests/clangd/DexTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/DexTests.cpp?rev=343796&r1=343795&r2=343796&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/DexTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/DexTests.cpp Thu Oct  4 09:29:58 2018
@@ -317,9 +317,9 @@ TEST(DexIterators, Boost) {
 
 TEST(DexIterators, Optimizations) {
   Corpus C{5};
-  const PostingList L1({1});
-  const PostingList L2({2});
-  const PostingList L3({3});
+  const PostingList L1{1};
+  const PostingList L2{2};
+  const PostingList L3{3};
 
   // empty and/or yield true/false
   EXPECT_EQ(llvm::to_string(*C.intersect()), "true");




More information about the cfe-commits mailing list