Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DUseAnyOfAllOfCheck.cpp46 return returnStmt(hasReturnValue(cxxBoolLiteral(equals(V)))); in registerMatchers()
50 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(true))))); in registerMatchers()
52 returnStmt(hasReturnValue(unless(cxxBoolLiteral(equals(false))))); in registerMatchers()
DSimplifyBooleanExprCheck.cpp74 return expr(anyOf(cxxBoolLiteral(equals(Value)), in literalOrNegatedBool()
76 cxxBoolLiteral(equals(!Value)))), in literalOrNegatedBool()
DImplicitBoolConversionCheck.cpp272 hasSourceExpression(cxxBoolLiteral()))), in registerMatchers()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp74 hasCondition(cxxBoolLiteral(equals(false))), in TEST()
95 id("id", ifStmt(hasCondition(cxxBoolLiteral(equals(false))))), in TEST()
/external/llvm-project/clang/unittests/AST/
DDataCollectionTest.cpp158 ASSERT_TRUE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;", in TEST()
160 ASSERT_FALSE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;", in TEST()
DASTImporterTest.cpp415 hasCondition(cxxBoolLiteral(equals(true))), in TEST_P()
/external/llvm-project/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp71 conditionalOperator(hasCondition(cxxBoolLiteral(equals(false))), in TEST()
94 ifStmt(hasCondition(cxxBoolLiteral(equals(false)))).bind("id"), Callback); in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DTerminatingContinueCheck.cpp24 anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)), in registerMatchers()
DSuspiciousStringCompareCheck.cpp158 characterLiteral(), cxxBoolLiteral())); in registerMatchers()
/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()
735 binaryOperator(hasLHS(cxxBoolLiteral(equals(true))), in TEST()
736 hasRHS(cxxBoolLiteral(equals(false)))); in TEST()
750 binaryOperator(hasEitherOperand(cxxBoolLiteral(equals(false)))); in TEST()
867 unaryOperator(hasUnaryOperand(cxxBoolLiteral(equals(false)))); in TEST()
963 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
968 forStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
[all …]
DASTMatchersNodeTest.cpp775 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
786 hasCondition(cxxBoolLiteral(equals(true))), in TEST()
787 hasTrueExpression(cxxBoolLiteral(equals(false)))); in TEST()
794 hasFalseExpression(cxxBoolLiteral(equals(false)))); in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1278 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()
1280 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()
1282 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()
1284 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()
1309 binaryOperator(hasLHS(cxxBoolLiteral(equals(true))), in TEST()
1310 hasRHS(cxxBoolLiteral(equals(false)))); in TEST()
1326 binaryOperator(hasEitherOperand(cxxBoolLiteral(equals(false)))); in TEST()
1466 unaryOperator(hasUnaryOperand(cxxBoolLiteral(equals(false)))); in TEST()
1562 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
1567 forStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
[all …]
DASTMatchersNodeTest.cpp1065 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST_P()
1082 conditionalOperator(hasCondition(cxxBoolLiteral(equals(true))), in TEST_P()
1083 hasTrueExpression(cxxBoolLiteral(equals(false)))); in TEST_P()
1090 conditionalOperator(hasFalseExpression(cxxBoolLiteral(equals(false)))); in TEST_P()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp33 expr(anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)), in registerMatchers()
DRedundantExpressionCheck.cpp833 anyOf(cxxBoolLiteral(), characterLiteral(), integerLiteral())); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.cpp206 cxxBoolLiteral(), cxxNullPtrLiteralExpr(), implicitValueInitExpr(), in registerMatchers()
/external/clang/unittests/AST/
DASTImporterTest.cpp329 hasCondition(cxxBoolLiteral(equals(true))), in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp133 REGISTER_MATCHER(cxxBoolLiteral); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp173 REGISTER_MATCHER(cxxBoolLiteral); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp891 cxxBoolLiteral; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1649 CXXBoolLiteralExpr> cxxBoolLiteral; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2286 cxxBoolLiteral;