/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | UseAnyOfAllOfCheck.cpp | 46 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()
|
D | SimplifyBooleanExprCheck.cpp | 74 return expr(anyOf(cxxBoolLiteral(equals(Value)), in literalOrNegatedBool() 76 cxxBoolLiteral(equals(!Value)))), in literalOrNegatedBool()
|
D | ImplicitBoolConversionCheck.cpp | 272 hasSourceExpression(cxxBoolLiteral()))), in registerMatchers()
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 74 hasCondition(cxxBoolLiteral(equals(false))), in TEST() 95 id("id", ifStmt(hasCondition(cxxBoolLiteral(equals(false))))), in TEST()
|
/external/llvm-project/clang/unittests/AST/ |
D | DataCollectionTest.cpp | 158 ASSERT_TRUE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;", in TEST() 160 ASSERT_FALSE(isStmtHashEqual(cxxBoolLiteral().bind("id"), "bool x = false;", in TEST()
|
D | ASTImporterTest.cpp | 415 hasCondition(cxxBoolLiteral(equals(true))), in TEST_P()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 71 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/ |
D | TerminatingContinueCheck.cpp | 24 anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)), in registerMatchers()
|
D | SuspiciousStringCompareCheck.cpp | 158 characterLiteral(), cxxBoolLiteral())); in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 717 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 …]
|
D | ASTMatchersNodeTest.cpp | 775 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/ |
D | ASTMatchersTraversalTest.cpp | 1278 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 …]
|
D | ASTMatchersNodeTest.cpp | 1065 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/ |
D | StaticAssertCheck.cpp | 33 expr(anyOf(cxxBoolLiteral(equals(false)), integerLiteral(equals(0)), in registerMatchers()
|
D | RedundantExpressionCheck.cpp | 833 anyOf(cxxBoolLiteral(), characterLiteral(), integerLiteral())); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseDefaultMemberInitCheck.cpp | 206 cxxBoolLiteral(), cxxNullPtrLiteralExpr(), implicitValueInitExpr(), in registerMatchers()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 329 hasCondition(cxxBoolLiteral(equals(true))), in TEST()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 133 REGISTER_MATCHER(cxxBoolLiteral); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 173 REGISTER_MATCHER(cxxBoolLiteral); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 891 cxxBoolLiteral; variable
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1649 CXXBoolLiteralExpr> cxxBoolLiteral; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2286 cxxBoolLiteral;
|