Home
last modified time | relevance | path

Searched refs:ADLMatch (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp279 StatementMatcher ADLMatch = callExpr(usesADL()); in TEST_P() local
296 EXPECT_TRUE(matches(MkStr("NS::X x; f(x);"), ADLMatch)); in TEST_P()
297 EXPECT_TRUE(notMatches(MkStr("NS::X x; NS::f(x);"), ADLMatch)); in TEST_P()
298 EXPECT_TRUE(notMatches(MkStr("MyX x; f(x);"), ADLMatch)); in TEST_P()
299 EXPECT_TRUE(notMatches(MkStr("NS::X x; using NS::f; f(x);"), ADLMatch)); in TEST_P()
302 EXPECT_TRUE(matches(MkStr("NS::X x; x + x;"), ADLMatch)); in TEST_P()
304 EXPECT_TRUE(notMatches(MkStr("MyX x; x + x;"), ADLMatch)); in TEST_P()
306 EXPECT_TRUE(matches(MkStr("NS::X x; operator+(x, x);"), ADLMatch)); in TEST_P()
307 EXPECT_TRUE(notMatches(MkStr("NS::X x; NS::operator+(x, x);"), ADLMatch)); in TEST_P()