Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp52 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
53 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<UnaryOperator>()); in TEST()
59 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
60 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<UnaryOperator>()); in TEST()
65 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Decl>()); in TEST()
66 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<Stmt>()); in TEST()
67 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<Expr>()); in TEST()
68 EXPECT_TRUE(Value.getMatcher().hasTypedMatcher<IntegerLiteral>()); in TEST()
69 EXPECT_FALSE(Value.getMatcher().hasTypedMatcher<GotoStmt>()); in TEST()
87 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.h58 return Value.isMatcher() && Value.getMatcher().hasTypedMatcher<T>();