diff options
Diffstat (limited to 'clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp index 411b84d4717..76489aada14 100644 --- a/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp +++ b/clang-tools-extra/unittests/clang-query/QueryEngineTest.cpp @@ -95,7 +95,7 @@ TEST_F(QueryEngineTest, Basic) { Str.clear(); EXPECT_TRUE( - SetQuery<OutputKind>(&QuerySession::OutKind, OK_Print).run(OS, S)); + SetExclusiveOutputQuery(&QuerySession::PrintOutput).run(OS, S)); EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); EXPECT_TRUE(OS.str().find("Binding for \"root\":\nvoid foo1()") != @@ -104,7 +104,7 @@ TEST_F(QueryEngineTest, Basic) { Str.clear(); EXPECT_TRUE( - SetQuery<OutputKind>(&QuerySession::OutKind, OK_DetailedAST).run(OS, S)); + SetExclusiveOutputQuery(&QuerySession::DetailedASTOutput).run(OS, S)); EXPECT_TRUE(MatchQuery(FooMatcherString, FooMatcher).run(OS, S)); EXPECT_TRUE(OS.str().find("FunctionDecl") != std::string::npos); |