From 02bfd89c9310648b949807ea8021a816ae64ee08 Mon Sep 17 00:00:00 2001 From: Shuai Wang Date: Mon, 17 Sep 2018 20:10:33 +0000 Subject: [PATCH] Fix build failure caused by D52157 llvm-svn: 342408 --- clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp index 631a53ebb0ed..f95d315c61ba 100644 --- a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp +++ b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp @@ -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()); }