Home
last modified time | relevance | path

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

/freebsd/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 DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp442 allOf(canResolveToExpr(Exp), hasType(nonConstReferenceType()))))); in findDirectMutation()
528 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
533 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation()
534 hasType(nonConstPointerType()))) in findRangeLoopMutation()
559 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
577 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
603 varDecl(hasType(nonConstReferenceType()), in findReferenceMutation()
621 parmVarDecl(hasType(nonConstReferenceType())).bind("parm")); in findFunctionArgMutation()
H A DUnsafeBufferUsage.cpp216 return hasType(hasCanonicalType(pointerType())); in hasPointerType()
219 static auto hasArrayType() { return hasType(hasCanonicalType(arrayType())); } in hasArrayType()
705 auto HasIntegerType = anyOf(hasType(isInteger()), hasType(enumType())); in matcher()
903 declRefExpr(hasType(hasCanonicalType(constantArrayType())), in matcher()
/freebsd/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/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()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp105 auto hasOptionalType() { return hasType(desugarsToOptionalType()); } in hasOptionalType()
110 return hasType(desugarsToOptionalOrDerivedType()); in hasOptionalOrDerivedType()
209 auto hasNulloptType() { return hasType(nulloptTypeDecl()); } in hasNulloptType()
224 return cxxConstructExpr(hasArgument(0, hasType(inPlaceClass())), in isOptionalInPlaceConstructor()
303 return callExpr(hasType(qualType( in isCallReturningOptional()
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h60 bool hasType(StructType *Ty);
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3993 hasType,
4034 hasType,
4231 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
4239 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
5199 hasParameter(ParamIndex, hasType(ParamMatcher))))), in AST_POLYMORPHIC_MATCHER_P2()
5201 hasParameter(ParamIndex, hasType(ParamMatcher))))))) in AST_POLYMORPHIC_MATCHER_P2()
8221 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp834 if (TypeMap.DstStructTypesSet.hasType(ST)) { in computeTypeMapping()
868 if (TypeMap.DstStructTypesSet.hasType(DST)) in computeTypeMapping()
1752 bool IRMover::IdentifiedStructTypeSet::hasType(StructType *Ty) { in hasType() function in IRMover::IdentifiedStructTypeSet
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.h380 bool hasType(const ValueTypeByHwMode &VT) const;
H A DCodeGenRegisters.cpp888 bool CodeGenRegisterClass::hasType(const ValueTypeByHwMode &VT) const { in hasType() function in CodeGenRegisterClass
2501 if ((!VT || RC.hasType(*VT)) && RC.contains(Reg) && in getMinimalPhysRegClass()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp110 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td533 // hasType is abstract, it should be used with one of the sub-rules.
534 def SubjectMatcherForType : AttrSubjectMatcherRule<"hasType", [], [