Home
last modified time | relevance | path

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

/external/clang/unittests/AST/
DASTImporterTest.cpp197 has(integerLiteral( in TEST()
199 has(integerLiteral( in TEST()
201 has(integerLiteral( in TEST()
231 has(integerLiteral(equals(1), hasType(asString("int"))))))))))); in TEST()
312 integerLiteral(equals(4))))))), in TEST()
330 hasTrueExpression(integerLiteral(equals(1))), in TEST()
332 unaryOperator(hasUnaryOperand(integerLiteral(equals(5)))) in TEST()
351 hasSourceExpression(integerLiteral(equals(1))))), in TEST()
355 integerLiteral(equals(1))))), in TEST()
358 hasUnaryOperand(integerLiteral(equals(5))))) in TEST()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp670 withInitializer(integerLiteral(equals(0))))))); in TEST()
672 withInitializer(integerLiteral(equals(1))))))); in TEST()
911 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
914 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
917 arraySubscriptExpr(hasIndex(integerLiteral(equals(0)))))); in TEST()
978 switchStmt(hasCondition(integerLiteral(equals(42)))); in TEST()
1111 integerLiteral(equals(0))))))); in TEST()
1129 integerLiteral()))))); in TEST()
1132 integerLiteral()))))); in TEST()
1135 integerLiteral()))))); in TEST()
[all …]
DASTMatchersNodeTest.cpp651 StatementMatcher HasIntLiteral = integerLiteral(); in TEST()
730 has(integerLiteral( in TEST()
737 has(integerLiteral( in TEST()
744 has(integerLiteral( in TEST()
810 hasSourceExpression((integerLiteral(equals(1)))))))), in TEST()
811 hasFalseExpression(integerLiteral(equals(0)))); in TEST()
817 hasSourceExpression((integerLiteral(equals(4)))))), in TEST()
818 hasFalseExpression(integerLiteral(equals(5)))); in TEST()
1015 matches("int i[1] = {42, [0] = 43};", integerLiteral(equals(42)))); in TEST()
DASTMatchersNarrowingTest.cpp41 hasArgument(2, integerLiteral(equals(3))))))); in TEST()
47 hasArgument(2, integerLiteral(equals(3))), in TEST()
48 hasArgument(3, integerLiteral(equals(4))))))); in TEST()
574 hasRHS(integerLiteral(equals(0)))), in TEST()
576 hasLHS(integerLiteral(equals(0))), in TEST()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp64 expectRewritten(Code, Expected, id("id", expr(integerLiteral())), in TEST()
/external/clang/docs/
DLibASTMatchersTutorial.rst196 binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0))))
243 hasInitializer(integerLiteral(equals(0))))))))
259 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
278 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
481 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp281 REGISTER_MATCHER(integerLiteral); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1682 IntegerLiteral> integerLiteral; variable
5352 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()