Home
last modified time | relevance | path

Searched refs:booleanType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerSizeEmptyCheck.cpp60 mapAnyOf(varDecl, fieldDecl).with(hasType(booleanType()))), in AST_MATCHER()
64 forField(hasType(booleanType())))))), in AST_MATCHER()
66 explicitCastExpr(hasDestinationType(booleanType())), in AST_MATCHER()
70 parenListExpr(hasParent(varDecl(hasType(booleanType())))), in AST_MATCHER()
72 explicitCastExpr(hasDestinationType(booleanType())))), in AST_MATCHER()
73 returnStmt(forFunction(returns(booleanType()))), in AST_MATCHER()
74 cxxUnresolvedConstructExpr(hasType(booleanType())), in AST_MATCHER()
77 parmVarDecl(hasType(booleanType())))), in AST_MATCHER()
104 returns(qualType(isInteger(), unless(booleanType()), in registerMatchers()
108 hasName("empty"), returns(booleanType())) in registerMatchers()
H A DStringCompareCheck.cpp36 implicitCastExpr(hasImplicitDestinationType(booleanType()), in registerMatchers()
H A DImplicitBoolConversionCheck.cpp274 hasSourceExpression(expr(hasType(booleanType()))), in registerMatchers()
305 hasLHS(expr(hasType(booleanType())))); in registerMatchers()
H A DContainerContainsCheck.cpp52 Finder->addMatcher(implicitCastExpr(hasImplicitDestinationType(booleanType()), in registerMatchers()
H A DRedundantSmartptrGetCheck.cpp76 recordDecl(Smartptr, has(cxxConversionDecl(returns(booleanType()))))); in registerMatchersForGetArrowStart()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseBoolLiteralsCheck.cpp35 hasImplicitDestinationType(qualType(booleanType())), in registerMatchers()
44 hasImplicitDestinationType(qualType(booleanType())), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DBoolPointerImplicitConversionCheck.cpp27 hasType(pointerType(pointee(booleanType()))), in registerMatchers()
H A DSignedCharMisuseCheck.cpp73 qualType(isInteger(), unless(isAnyCharacter()), unless(booleanType())) in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp248 qualType(anyOf(qualType(booleanType()).bind("cpp_bool_type"), in checkASTCodeBody()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp154 REGISTER_MATCHER(booleanType); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp3444 cxxMethodDecl(returns(booleanType())))); in TEST_P()
3446 cxxMethodDecl(returns(booleanType())))); in TEST_P()
H A DASTMatchersTraversalTest.cpp2747 hasParameter(0, parmVarDecl(hasType(booleanType())))); in TEST()
2800 hasTemplateArgument(0, templateArgument(refersToType(booleanType()))), in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6722 AST_MATCHER(Type, booleanType) { in AST_MATCHER() argument
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp477 hasType(booleanType()))), in TEST_P()
793 typeTraitExpr(hasType(booleanType()))))))))); in TEST_P()