Home
last modified time | relevance | path

Searched refs:hasType (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp200 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 DPointerIterationChecker.cpp68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers()
72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
H A DPointerSortingChecker.cpp83 hasType(cxxRecordDecl(has( in matchSortWithPointers()
84 fieldDecl(hasType(hasCanonicalType( in matchSortWithPointers()
H A DObjCAutoreleaseWriteChecker.cpp175 parmVarDecl(hasType(hasCanonicalType(pointerType( in checkASTCodeBody()
200 hasType(hasCanonicalType(blockPointerType())), in checkASTCodeBody()
H A DGCDAntipatternChecker.cpp103 auto HasBlockArgumentM = hasAnyArgument(hasType( in findGCDAntiPatternWithSemaphore()
149 auto HasBlockArgumentM = hasAnyArgument(hasType( in findGCDAntiPatternWithGroup()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp398 hasType(templateTypeParmType()), isTypeDependent()))); in findDirectMutation()
431 allOf(canResolveToExpr(Exp), hasType(nonConstReferenceType()))))); in findDirectMutation()
514 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
519 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation()
520 hasType(nonConstPointerType()))) in findRangeLoopMutation()
545 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
563 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
588 varDecl(hasType(nonConstReferenceType()), in findReferenceMutation()
605 parmVarDecl(hasType(nonConstReferenceType())).bind("parm")); in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp208 return hasType(hasCanonicalType(pointerType())); in hasPointerType()
212 return hasType(hasCanonicalType(arrayType())); in hasArrayType()
569 auto HasIntegerType = anyOf(hasType(isInteger()), hasType(enumType())); in matcher()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp63 static bool hasType(const MCInst &MI, const MCInstrInfo &MII) { in hasType() function
119 if (hasType(MI, MCII)) in encodeInstruction()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp92 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 DLoopWidening.cpp73 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp88 auto hasOptionalType() { return hasType(optionalOrAliasType()); } in hasOptionalType()
98 hasType(pointerType(pointee(optionalOrAliasType())))))), in isOptionalMemberCallWithNameMatcher()
123 auto hasNulloptType() { return hasType(nulloptTypeDecl()); } in hasNulloptType()
139 hasArgument(0, hasType(inPlaceClass()))); in isOptionalInPlaceConstructor()
215 return callExpr(hasType(qualType(anyOf( in isCallReturningOptional()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h60 bool hasType(StructType *Ty);
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp136 0, expr(hasType(classTemplateSpecializationDecl(hasName( in gtestThatInternal()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3992 hasType,
4033 hasType,
4231 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
4239 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
5177 hasParameter(ParamIndex, hasType(ParamMatcher))))), in AST_POLYMORPHIC_MATCHER_P2()
5179 hasParameter(ParamIndex, hasType(ParamMatcher))))))) in AST_POLYMORPHIC_MATCHER_P2()
8191 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp832 if (TypeMap.DstStructTypesSet.hasType(ST)) { in computeTypeMapping()
866 if (TypeMap.DstStructTypesSet.hasType(DST)) in computeTypeMapping()
1750 bool IRMover::IdentifiedStructTypeSet::hasType(StructType *Ty) { in hasType() function in IRMover::IdentifiedStructTypeSet
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenRegisters.h363 bool hasType(const ValueTypeByHwMode &VT) const;
H A DCodeGenRegisters.cpp868 bool CodeGenRegisterClass::hasType(const ValueTypeByHwMode &VT) const { in hasType() function in CodeGenRegisterClass
2480 if ((!VT || RC.hasType(*VT)) && in getMinimalPhysRegClass()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp110 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td520 // hasType is abstract, it should be used with one of the sub-rules.
521 def SubjectMatcherForType : AttrSubjectMatcherRule<"hasType", [], [