Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp717 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()
719 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()
721 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()
723 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()
963 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
1307 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()
1332 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
1335 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
1341 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()
1409 compoundStmt(forEachDescendant(ifStmt().bind("if")), in TEST()
[all …]
DASTMatchersNarrowingTest.cpp316 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST()
1825 stmt(allOf(ifStmt().bind("if"), in TEST()
1830 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST()
DASTMatchersNodeTest.cpp775 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
1463 "void f() { if (true) if(true) {} }", ifStmt().bind(""), in TEST()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp84 id("id", ifStmt( in TEST()
95 id("id", ifStmt(hasCondition(cxxBoolLiteral(equals(false))))), in TEST()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp34 ifStmt(hasParent(compoundStmt())))); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp269 REGISTER_MATCHER(ifStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1384 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt; variable