Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp299 if (!UOp->isIncrementDecrementOp() || !UOp->getType()->isPointerType()) in checkPreStmt()
328 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt()
335 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
H A DFixedAddressChecker.cpp44 if (!T->isPointerType()) in checkPreStmt()
H A DCheckSizeofPointer.cpp56 if (T->isPointerType()) { in VisitUnaryExprOrTypeTraitExpr()
H A DNonnullGlobalConstantsChecker.cpp125 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
H A DMallocSizeofChecker.cpp185 if (!CastedType->isPointerType()) in checkASTCodeBody()
H A DGenericTaintChecker.cpp163 if (!E->getType().getTypePtr()->isPointerType()) in isTaintedOrPointsToTainted()
443 if (!ArgTy->isPointerType()) in getPointedToSVal()
H A DNumberObjectConversionChecker.cpp137 assert(ObjT.getCanonicalType()->isPointerType()); in run()
H A DDeadStoresChecker.cpp284 if (T->isPointerType() || T->isObjCObjectPointerType()) { in observeStmt()
H A DValistChecker.cpp173 Ty->isPointerType() && Ty->getPointeeType()->isRecordType(); in getVAListAsRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A 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()
2045 if (OriginalTy->isPointerType()) { in patternMatch()
2158 if (Ty->isPointerType()) in VisitConditionVariable()
2201 if (VDTy->isPointerType()) in VisitTrueTest()
H A DRetainSummaryManager.cpp205 if (RetTy->isPointerType()) { in getSummaryForOSObject()
364 if (RetTy->isPointerType()) { in getSummaryForObjCOrCFObject()
671 } else if (ResultTy->isPointerType()) { in canEval()
H A DStore.cpp424 if (castTy->isPointerType() && !castTy->isVoidPointerType()) in CastRetrievedVal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedPointee.cpp52 if (getDecl()->getType()->isPointerType()) in printSeparator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp183 if (T.isPointerType() || T.isMemberPointerType()) { in getScalarZeroExpressionForType()
H A DSemaExceptionSpec.cpp662 if (HandlerType->isPointerType() || HandlerType->isMemberPointerType()) { in handlerCanCatch()
687 if (!ExceptionType->isPointerType() || !HandlerType->isPointerType()) in handlerCanCatch()
H A DSemaExpr.cpp5248 if (!ParamType->isPointerType() || in rewriteBuiltinFunctionDecl()
5250 !ArgType->isPointerType() || in rewriteBuiltinFunctionDecl()
5975 assert(type->isPointerType()); in PrepareCastToObjCObjectPointer()
6332 if (SrcTy->isPointerType()) in CheckExtVectorCast()
7128 if (LHSTy->isPointerType() && RHSTy->isPointerType()) in CheckConditionalOperands()
7377 if (E->getType()->isPointerType()) in ExprLooksBoolean()
8178 if (RHSType->isPointerType()) in CheckTransparentUnionArgumentConstraints()
8894 if (!LHSTy->isPointerType() || RHSTy->isPointerType()) in DiagnoseDivisionSizeofPointer()
9719 assert(LHSType->isPointerType() || RHSType->isPointerType() || in convertPointersToCompositeType()
10336 if (CompositeTy->isPointerType()) { in CheckCompareOperands()
[all …]
H A DSemaStmtAsm.cpp578 if (InTy->isIntegerType() || InTy->isPointerType()) in ActOnGCCAsmStmt()
585 if (OutTy->isIntegerType() || OutTy->isPointerType()) in ActOnGCCAsmStmt()
H A DSemaChecking.cpp319 if (!ChainResult.get()->getType()->isPointerType()) { in SemaBuiltinCallWithStaticChain()
613 !(Arg5->getType()->isPointerType() && in SemaOpenCLBuiltinEnqueueKernel()
848 if (!RT->isPointerType() || RT->getPointeeType() in SemaOpenCLBuiltinToAddr()
905 if (!ParamTy->isPointerType()) in SemaBuiltinLaunder()
1256 if (!PtrArgType->isPointerType() || in CheckBuiltinFunctionCall()
1267 if (!FnPtrArgType->isPointerType()) { in CheckBuiltinFunctionCall()
4554 && !ValType->isPointerType()) { in SemaAtomicOpsOverloaded()
4572 if (IsC11 && ValType->isPointerType() && in SemaAtomicOpsOverloaded()
5491 if (!Arg1Ty->isPointerType() || in SemaBuiltinVAStartARMMicrosoft()
11542 if (!ReturnType->isPointerType()) { in DiagnoseAlwaysNonNullPointer()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp1635 assert(getSubExpr()->getType()->isPointerType()); in CastConsistency()
1652 if (!getType()->isPointerType()) { in CastConsistency()
1672 assert(getType()->isPointerType()); in CastConsistency()
1968 if (LHS->getType()->isPointerType()) { in isNullPointerArithmeticExtension()
1972 } else if (RHS->getType()->isPointerType()) { in isNullPointerArithmeticExtension()
2516 return T->isPointerType() && in isOBJCGCCandidate()
2741 if ((E->getType()->isPointerType() || in IgnoreParenNoopCasts()
2743 (SE->getType()->isPointerType() || in IgnoreParenNoopCasts()
3683 return getBase()->getType()->isPointerType(); in isArrow()
H A DScanfFormatString.cpp418 if (!QT->isPointerType()) in fixType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp145 if (QT->isPointerType() || QT->isReferenceType()) in isConsumableType()
155 if (QT->isPointerType() || QT->isReferenceType()) in isAutoCastType()
191 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprAgg.cpp401 if (!Field->getType()->isPointerType() || in VisitCXXStdInitializerListExpr()
425 if (Field->getType()->isPointerType() && in VisitCXXStdInitializerListExpr()
935 if (ArgTy->isIntegralOrEnumerationType() || ArgTy->isPointerType()) { in EmitCompare()
964 !ArgTy->isNullPtrType() && !ArgTy->isPointerType() && in VisitBinCmp()
H A DCodeGenTBAA.cpp161 if (Ty->isPointerType() || Ty->isReferenceType()) in getTypeInfoHelper()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp127 if (E->getSubExpr()->getType()->isPointerType()) { in transformNonObjCToObjCCast()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h821 while (STy->isPointerType() || STy->isReferenceType()) in getNumParams()

1234