| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | MemoryUnsafeCastChecker.cpp | 95 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo() 112 hasSourceExpression(ignoringImpCasts(hasType(objcObjectPointerType( in checkASTCodeBody() 114 ignoringImpCasts(hasType(objcObjectPointerType(pointee(hasDeclaration( in checkASTCodeBody() 118 allOf(hasSourceExpression(hasType(hasUnqualifiedDesugaredType(recordType( in checkASTCodeBody() 120 hasType(hasUnqualifiedDesugaredType(recordType(hasDeclaration( in checkASTCodeBody() 124 hasType(templateTypeParmDecl())))); in checkASTCodeBody() 146 hasSourceExpression(ignoringImpCasts(hasType(objcObjectPointerType( in checkASTCodeBody() 148 ignoringImpCasts(hasType(objcObjectPointerType( in checkASTCodeBody() 151 ignoringImpCasts(hasType( in checkASTCodeBody() 154 hasSourceExpression(ignoringImpCasts(hasType( in checkASTCodeBody() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 200 expr(hasType(elaboratedType(namesType(typedefType( in checkASTCodeBody() 208 expr(hasType(hasCanonicalType( in checkASTCodeBody() 220 expr(hasType(hasCanonicalType( in checkASTCodeBody() 264 expr(ignoringParenImpCasts(expr(hasType(SuspiciousScalarTypeM)))); in checkASTCodeBody() 278 callExpr(hasAnyArgument(allOf(hasType(SuspiciousScalarTypeM), in checkASTCodeBody() 314 explicitCastExpr(allOf(hasType(SuspiciousScalarBooleanTypeM), in checkASTCodeBody() 318 explicitCastExpr(allOf(hasType(SuspiciousScalarNumberTypeM), in checkASTCodeBody() 323 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
|
| H A D | ObjCAutoreleaseWriteChecker.cpp | 175 parmVarDecl(hasType(hasCanonicalType(pointerType( in checkASTCodeBody() 200 hasType(hasCanonicalType(blockPointerType())), in checkASTCodeBody()
|
| H A D | OSObjectCStyleCast.cpp | 77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 493 allOf(canResolveToExpr(Exp), hasType(nonConstReferenceType()))))); in findDirectMutation() 579 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation() 584 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation() 585 hasType(nonConstPointerType()))) in findRangeLoopMutation() 610 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation() 628 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation() 654 varDecl(hasType(nonConstReferenceType()), in findReferenceMutation() 672 parmVarDecl(hasType(nonConstReferenceType())).bind("parm")); in findFunctionArgMutation() 762 varDecl(hasType(NonConstPointerOrDependentType), in findPointeeToNonConst() 766 hasLHS(expr(hasType(NonConstPointerOrDependentType))), in findPointeeToNonConst()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 92 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition() 114 parmVarDecl(hasType(references(qualType(unless(isConstQualified()))))))); in callByRef() 120 allOf(hasType(referenceType()), in assignedToRef() 164 hasType(isInteger())))))))), in forLoopMatcher()
|
| H A D | LoopWidening.cpp | 54 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVMCCodeEmitter.cpp | 62 static bool hasType(const MCInst &MI, const MCInstrInfo &MII) { in hasType() function 140 if (hasType(MI, MCII)) in encodeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Linker/ |
| H A D | IRMover.h | 61 LLVM_ABI bool hasType(StructType *Ty);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 135 auto hasOptionalType() { return hasType(desugarsToOptionalType()); } in hasOptionalType() 140 return hasType(desugarsToOptionalOrDerivedType()); in hasOptionalOrDerivedType() 241 auto hasNulloptType() { return hasType(nulloptTypeDecl()); } in hasNulloptType() 257 return cxxConstructExpr(hasArgument(0, hasType(inPlaceClass())), in isOptionalInPlaceConstructor() 354 return callExpr(hasType(qualType( in isCallReturningOptional()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | GtestMatchers.cpp | 131 0, expr(hasType(classTemplateSpecializationDecl(hasName( in gtestThatInternal()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4086 hasType, 4127 hasType, 4324 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher)))) 4332 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher)))) 8292 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()
|
| /freebsd/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 732 if (TypeMap.DstStructTypesSet.hasType(ST)) { in computeTypeMapping() 766 if (TypeMap.DstStructTypesSet.hasType(DST)) in computeTypeMapping() 1641 bool IRMover::IdentifiedStructTypeSet::hasType(StructType *Ty) { in hasType() function in IRMover::IdentifiedStructTypeSet
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenRegisters.h | 388 bool hasType(const ValueTypeByHwMode &VT) const;
|
| H A D | CodeGenRegisters.cpp | 815 bool CodeGenRegisterClass::hasType(const ValueTypeByHwMode &VT) const { in hasType() function in CodeGenRegisterClass 2555 if ((!VT || RC.hasType(*VT)) && RC.contains(Reg) && in getMinimalPhysRegClass()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 108 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 573 // hasType is abstract, it should be used with one of the sub-rules. 574 def SubjectMatcherForType : AttrSubjectMatcherRule<"hasType", [], [
|