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/WebKit/
H A DMemoryUnsafeCastChecker.cpp95 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 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 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.cpp493 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 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.cpp54 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp62 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 DIRMover.h61 LLVM_ABI bool hasType(StructType *Ty);
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp135 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 DGtestMatchers.cpp131 0, expr(hasType(classTemplateSpecializationDecl(hasName( in gtestThatInternal()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4086 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 DIRMover.cpp732 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 DCodeGenRegisters.h388 bool hasType(const ValueTypeByHwMode &VT) const;
H A DCodeGenRegisters.cpp815 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 DRegistry.cpp108 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td573 // hasType is abstract, it should be used with one of the sub-rules.
574 def SubjectMatcherForType : AttrSubjectMatcherRule<"hasType", [], [