Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp55 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
56 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<UnaryOperator>()); in TEST()
62 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
63 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<UnaryOperator>()); in TEST()
68 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
69 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Stmt>()); in TEST()
70 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<Expr>()); in TEST()
71 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<IntegerLiteral>()); in TEST()
72 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<GotoStmt>()); in TEST()
90 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
[all …]
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h176 bool hasTypedMatcher() const { in hasTypedMatcher() function
200 assert(hasTypedMatcher<T>() && "hasTypedMatcher<T>() == false"); in getTypedMatcher()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h59 return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();