Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp42 while ((SourceType->isPointerType() && DestType->isPointerType()) || in needsConstCast()
47 return (SourceType->isPointerType() == DestType->isPointerType()) && in needsConstCast()
55 while ((T1->isPointerType() && T2->isPointerType()) || in pointedUnqualifiedTypesAreEqual()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DFixItHintUtils.cpp36 return (QT->isPointerType() && QT->isFunctionPointerType()) || in isMemberOrFunctionPointer()
151 if (QualTarget == QualifierTarget::Pointee && Pointee->isPointerType()) { in changePointer()
207 if (ParenStrippedType->isPointerType()) in addQualifierToVarDecl()
219 if (AT->isPointerType()) in addQualifierToVarDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp107 if ((T->isPointerType() && !T->getPointeeType().isConstQualified()) || in check()
119 if (!T->isPointerType() || T->getPointeeType().isConstQualified() || in addParm()
179 if (T->isPointerType() && T->getPointeeType().isConstQualified()) in markCanNotBeConst()
195 if (T->isPointerType() && !T->getPointeeType().isConstQualified()) in markCanNotBeConst()
H A DContainerDataPointerCheck.cpp90 if (DCE && !CE->getType()->isPointerType()) in check()
105 if (CE->getType()->isPointerType()) in check()
H A DStaticAccessedThroughInstanceCheck.cpp64 BaseExpr->getType()->isPointerType() in check()
H A DSuspiciousCallArgumentCheck.cpp310 return TypeToCheck->isPointerType() || TypeToCheck->isArrayType(); in isPointerOrArray()
332 TypeToConvert = TypeToConvert->isPointerType() in convertToPointeeOrArrayElementQualType()
382 } while (ParamType->isPointerType() && ArgType->isPointerType()); in arePointerTypesCompatible()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConstCorrectnessCheck.cpp131 if (Variable->getType()->isPointerType()) in check()
135 if (ArrayT->getElementType()->isPointerType()) in check()
146 Variable->getType()->getPointeeType()->isPointerType() && in check()
H A DMisplacedConstCheck.cpp38 if (!QT->isPointerType()) in guessAlternateQualification()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeCstyleCastCheck.cpp23 while (SourceType->isPointerType() && DestType->isPointerType()) { in needsConstCast()
H A DAvoidNonConstGlobalVariablesCheck.cpp65 << VD->getType()->isPointerType(); // FIXME: Add fix-it hint to Variable in check()
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dgenerator.cc571 if (!type->isPointerType()) in is_isl_ctx()
673 if (type->isPointerType()) { in is_isl_type()
700 if (type->isPointerType()) in is_isl_primitive()
732 if (!type->isPointerType()) in is_callback()
742 if (type->isPointerType()) { in is_string()
771 if (type->isPointerType()) in extract_type()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DImplicitWideningOfMultiplicationResultCheck.cpp165 if (IndexExpr->getType()->isPointerType()) in handlePointerOffsetting()
168 if (!PointerExpr->getType()->isPointerType() || in handlePointerOffsetting()
169 IndexExpr->getType()->isPointerType()) in handlePointerOffsetting()
H A DVirtualNearMissCheck.cpp61 if (!(BaseReturnTy->isPointerType() && DerivedReturnTy->isPointerType()) && in checkOverridingFunctionReturnType()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp216 if (CastToTy->isPointerType()) { in addCastTransition()
217 if (!CastFromTy->isPointerType()) in addCastTransition()
290 if (CastFromTy->isPointerType()) in addInstanceOfTransition()
484 if (!(ParamT->isPointerType() && ResultT->isPointerType()) && in evalCall()
H A 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()
H A DFixedAddressChecker.cpp43 if (!T->isPointerType()) in checkPreStmt()
H A DCheckSizeofPointer.cpp55 if (T->isPointerType()) { in VisitUnaryExprOrTypeTraitExpr()
H A DStringChecker.cpp55 if (!Arg1Ty->isPointerType()) in isCharToStringCtor()
H A DNonnullGlobalConstantsChecker.cpp133 if (Ty->isPointerType() && Ty->getPointeeType()->isCharType()) in isNonnullType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DPostfixOperatorCheck.cpp70 ReturnType->isPointerType()) in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp83 if (T->isPointerType()) { in reportBug()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNodiscardCheck.cpp71 return (Node->isTemplateTypeParmType() || Node->isPointerType() || in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/
H A DSIMDIntrinsicsCheck.cpp33 if (Type->isPointerType()) in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/
H A DBufferDerefCheck.cpp92 if (BufferType->isPointerType()) { in checkBuffers()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DContext.cpp63 if (T->isReferenceType() || T->isPointerType()) { in classify()

123456