[clang-tools-extra] r342408 - Fix build failure caused by D52157
Shuai Wang via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 17 13:10:33 PDT 2018
Author: shuaiwang
Date: Mon Sep 17 13:10:33 2018
New Revision: 342408
URL: http://llvm.org/viewvc/llvm-project?rev=342408&view=rev
Log:
Fix build failure caused by D52157
Modified:
clang-tools-extra/trunk/unittests/clang-query/QueryEngineTest.cpp
Modified: clang-tools-extra/trunk/unittests/clang-query/QueryEngineTest.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-query/QueryEngineTest.cpp?rev=342408&r1=342407&r2=342408&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-query/QueryEngineTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-query/QueryEngineTest.cpp Mon Sep 17 13:10:33 2018
@@ -115,7 +115,7 @@ TEST_F(QueryEngineTest, Basic) {
Str.clear();
- EXPECT_FALSE(MatchQuery(isArrow()).run(OS, S));
+ EXPECT_FALSE(MatchQuery(isMain()).run(OS, S));
EXPECT_EQ("Not a valid top-level matcher.\n", OS.str());
}
More information about the cfe-commits
mailing list