Home
last modified time | relevance | path

Searched refs:isVoidPointerType (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp139 if (B->isVoidPointerType() && A->getAs<PointerType>()) in typesCompatible()
143 if (A->isVoidPointerType() && B->getAs<PointerType>()) in typesCompatible()
H A DMoveChecker.cpp499 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h642 if (LTy->isVoidPointerType() ^ RTy->isVoidPointerType()) { in doTypeConversion()
645 if (RTy->isVoidPointerType()) in doTypeConversion()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedPointee.cpp275 if (T->isVoidPointerType()) in isVoidPointer()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp242 if (SourceType->isVoidPointerType()) in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h289 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isVoidPointerType)
H A DType.h2092 bool isVoidPointerType() const;
/llvm-project-15.0.7/clang/lib/AST/
H A DFormatString.cpp469 if (argTy->isVoidPointerType()) { in matchesType()
H A DItaniumMangle.cpp5843 if (NeedExactType && T->isVoidPointerType()) { in mangleValueInTemplateArg()
5850 mangleType(T->isVoidPointerType() in mangleValueInTemplateArg()
H A DType.cpp589 bool Type::isVoidPointerType() const { in isVoidPointerType() function in Type
H A DExprConstant.cpp5850 if (E->getType()->isVoidPointerType()) in HandleDynamicCast()
8870 if (!E->getType()->isVoidPointerType()) { in VisitCastExpr()
8891 if (SubExpr->getType()->isVoidPointerType()) in VisitCastExpr()
12940 if (LHSTy->isVoidPointerType() && LHSOffset != RHSOffset && IsRelational) in EvaluateComparisonBinaryOperator()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp2163 unsigned Diag = DestType->isVoidPointerType() ? in checkIntToPointerCast()
2412 unsigned Diag = SrcType->isVoidPointerType() in TryReinterpretCast()
3076 if (SrcType->isVoidPointerType()) in CheckCStyleCast()
H A DSemaExprCXX.cpp6893 else if (T1->isVoidPointerType() || T2->isVoidPointerType()) in FindCompositePointerType()
6901 else if (T1->isVoidPointerType() || T2->isVoidPointerType()) in FindCompositePointerType()
6992 if (Steps.empty() && ((Composite1->isVoidPointerType() && in FindCompositePointerType()
6995 Composite2->isVoidPointerType()))) { in FindCompositePointerType()
H A DSemaCoroutine.cpp349 if (!JustAddress->getType().getTypePtr()->isVoidPointerType()) in maybeTailCall()
H A DSemaPseudoObject.cpp1055 (T->isObjCObjectPointerType() || T->isVoidPointerType())) in CheckSubscriptingKind()
H A DSemaExpr.cpp8337 if (LHSTy->isVoidPointerType() || RHSTy->isVoidPointerType()) { in checkConditionalBlockPointerCompatibility()
8880 if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) { in FindCompositeObjCPointerType()
8900 if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) { in FindCompositeObjCPointerType()
9767 if (RHSType->isVoidPointerType()) { in CheckAssignmentConstraints()
12486 ((LHSType->isFunctionPointerType() && RHSType->isVoidPointerType()) || in CheckCompareOperands()
12487 (RHSType->isFunctionPointerType() && LHSType->isVoidPointerType()))) { in CheckCompareOperands()
H A DSemaChecking.cpp1877 if (ParamTy->isVoidPointerType()) in SemaBuiltinLaunder()
8258 if (!(ExpectedType->isVoidPointerType() && in SemaBuiltinPPCMMACall()
17312 if (ICE->getType()->isVoidPointerType() && in CheckArgumentWithTypeTag()
17319 if (IsPointerAttr && ArgumentType->isVoidPointerType()) in CheckArgumentWithTypeTag()
H A DSemaTemplate.cpp7630 } else if (ParamType->isVoidPointerType() && in BuildExpressionFromDeclTemplateArgument()
H A DSemaDeclAttr.cpp5956 if (!T->isVoidPointerType()) { in handleObjCBridgeAttr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp776 if (CastTy->isPointerType() && !CastTy->isVoidPointerType()) { in VisitLocMemRegionVal()
H A DRegionStore.cpp1555 !RegionTy->isVoidPointerType()) { in getExistingLazyBinding()
H A DBugReporter.cpp314 if ((*I)->getType()->isVoidPointerType()) in getMessage()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp1024 if (ToPtr->isVoidPointerType()) { in approximateStandardConversionSequence()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp670 if (!PT || !PT->isVoidPointerType() || in matchesStlAllocatorFn()
H A DCGCall.cpp2391 !FI.arg_begin()->type->isVoidPointerType() && !IsThunk) { in ConstructAttributeList()

12