Home
last modified time | relevance | path

Searched refs:isPointerType (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastValueChecker.cpp215 if (CastToTy->isPointerType()) { in addCastTransition()
216 if (!CastFromTy->isPointerType()) in addCastTransition()
289 if (CastFromTy->isPointerType()) in addInstanceOfTransition()
481 if (!(ParamT->isPointerType() && ResultT->isPointerType()) && in evalCall()
DPointerArithChecker.cpp298 if (!UOp->isIncrementDecrementOp() || !UOp->getType()->isPointerType()) in checkPreStmt()
327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt()
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
DFixedAddressChecker.cpp43 if (!T->isPointerType()) in checkPreStmt()
DCheckSizeofPointer.cpp55 if (T->isPointerType()) { in VisitUnaryExprOrTypeTraitExpr()
DNonnullGlobalConstantsChecker.cpp133 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
DMallocSizeofChecker.cpp188 if (!CastedType->isPointerType()) in checkASTCodeBody()
DNonNullParamChecker.cpp260 if (!Parameter->getType()->isPointerType()) in checkBeginFunction()
DNumberObjectConversionChecker.cpp136 assert(ObjT.getCanonicalType()->isPointerType()); in run()
DIterator.cpp20 if (Type->isPointerType()) in isIteratorType()
DIteratorModeling.cpp279 const bool IsIterOnLHS = BO->getLHS()->getType()->isPointerType(); in checkPostStmt()
637 if (!PtrType->isPointerType()) in handlePtrIncrOrDecr()
DGenericTaintChecker.cpp272 if (!E->getType().getTypePtr()->isPointerType()) in isTaintedOrPointsToTainted()
666 if (!ArgTy->isPointerType()) in getPointeeOf()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DUncountedLambdaCapturesChecker.cpp83 if (T->isPointerType()) { in reportBug()
DPtrTypesSemantics.cpp130 if (T->isPointerType() || T->isReferenceType()) { in isUncountedPtr()
DUncountedLocalVarsChecker.cpp64 if (T->isPointerType() || T->isReferenceType()) { in isRefcountedStringsHack()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
DContext.cpp63 if (T->isReferenceType() || T->isPointerType()) { in classify()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp692 if (CastTy->isPointerType() || CastTy->isReferenceType()) in evalCastSubKind()
780 if (CastTy->isPointerType() && !CastTy->isVoidPointerType()) { in evalCastSubKind()
807 if (CastTy->isPointerType() || CastTy->isReferenceType()) { in evalCastSubKind()
DDynamicType.cpp70 while (Ty->isReferenceType() || Ty->isPointerType()) in unbox()
DBugReporterVisitors.cpp75 if (B->isAdditiveOp() && B->getType()->isPointerType()) { in peelOffPointerArithmetic()
76 if (B->getLHS()->getType()->isPointerType()) { in peelOffPointerArithmetic()
78 } else if (B->getRHS()->getType()->isPointerType()) { in peelOffPointerArithmetic()
120 (U->isIncrementDecrementOp() && U->getType()->isPointerType())) { in getDerefExpr()
2722 if (OriginalTy->isPointerType()) { in patternMatch()
2979 if (Ty->isPointerType()) { in printValue()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedPointee.cpp51 if (getDecl()->getType()->isPointerType()) in printSeparator()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp182 if (T.isPointerType() || T.isMemberPointerType()) { in getScalarZeroExpressionForType()
DSemaExpr.cpp547 UO->getSubExpr()->getType()->isPointerType()) { in CheckForNullPointerDereference()
4222 if (Type->isPointerType() && OType->isArrayType()) { in CheckUnaryExprOrTypeTraitOperand()
5125 if (!BaseTy->isPointerType() && Base->isTypeDependent()) in ActOnOMPArrayShapingExpr()
5128 if (!BaseTy->isPointerType() || in ActOnOMPArrayShapingExpr()
6225 if (!ParamType->isPointerType() || in rewriteBuiltinFunctionDecl()
6227 !ArgType->isPointerType() || in rewriteBuiltinFunctionDecl()
7154 assert(type->isPointerType()); in PrepareCastToObjCObjectPointer()
7591 if (SrcTy->isPointerType()) in CheckExtVectorCast()
8069 if (!PointerExpr->getType()->isPointerType() || in checkPointerIntegerMismatch()
8413 if (LHSTy->isPointerType() && RHSTy->isPointerType()) in CheckConditionalOperands()
[all …]
DSemaExceptionSpec.cpp688 if (HandlerType->isPointerType() || HandlerType->isMemberPointerType()) { in handlerCanCatch()
713 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DRetainSummaryManager.cpp247 if (RetTy->isPointerType()) { in getSummaryForOSObject()
411 if (RetTy->isPointerType()) { in getSummaryForObjCOrCFObject()
737 } else if (ResultTy->isPointerType()) { in canEval()
DConsumed.cpp144 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
154 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
190 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DExprCXX.cpp154 if (!Ty->isPointerType() && !Ty->isReferenceType()) in isMostDerived()
308 if (ArgType->isDependentType() && !ArgType->isPointerType()) in getDestroyedType()
664 if (Ty->isPointerType()) in getObjectType()
928 if (ParamTy->isPointerType()) in getLiteralOperatorKind()

1234