Home
last modified time | relevance | path

Searched refs:getPointeeType (Results 1 – 25 of 157) sorted by relevance

1234567

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaCast.cpp178 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
180 if (!DestType->getPointeeType()->hasAttr(attr::NoDeref)) { in CheckNoDeref()
508 From = Ptr->getPointeeType(); in diagnoseBadCast()
513 To = Ptr->getPointeeType(); in diagnoseBadCast()
575 return T->getPointeeType(); in unwrapCastAwayConstnessLevel()
585 T2 = T2->getPointeeType(); in unwrapCastAwayConstnessLevel()
776 DestPointee = DestPointer->getPointeeType(); in CheckDynamicCast()
778 DestPointee = DestReference->getPointeeType(); in CheckDynamicCast()
811 SrcPointee = SrcPointer->getPointeeType(); in CheckDynamicCast()
1075 SrcFTy = SrcType->getPointeeType()->castAs<FunctionType>(); in checkCastFunctionType()
[all …]
DSemaExceptionSpec.cpp30 T = PtrTy->getPointeeType(); in GetUnderlyingFunction()
32 T = RefTy->getPointeeType(); in GetUnderlyingFunction()
34 T = MPTy->getPointeeType(); in GetUnderlyingFunction()
131 PointeeT = PT->getPointeeType(); in CheckSpecifiedExceptionType()
139 PointeeT = RT->getPointeeType(); in CheckSpecifiedExceptionType()
191 T = PT->getPointeeType(); in CheckDistantExceptionSpec()
193 T = PT->getPointeeType(); in CheckDistantExceptionSpec()
681 HandlerType = RefTy->getPointeeType(); in handlerCanCatch()
719 ExceptionType->getPointeeType(), EQuals); in handlerCanCatch()
721 HandlerType->getPointeeType(), HQuals); in handlerCanCatch()
[all …]
DSemaFixItUtils.cpp36 (cast<PointerType>(From))->getPointeeType()); in compareTypesSimple()
38 (cast<PointerType>(To))->getPointeeType()); in compareTypesSimple()
97 S.Context.getCanonicalType(FromPtrTy->getPointeeType()), ToQTy, in tryToFixConversion()
DSemaTemplateDeduction.cpp1198 if (ParamRef->getPointeeType().getQualifiers()) in isForwardingReference()
1200 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1371 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1376 Arg = ArgRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1448 Param = Param->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1674 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1677 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1684 cast<PointerType>(Param)->getPointeeType(), in DeduceTemplateArgumentsByTypeMatch()
1697 cast<LValueReferenceType>(Param)->getPointeeType(), in DeduceTemplateArgumentsByTypeMatch()
1698 ReferenceArg->getPointeeType(), Info, Deduced, 0); in DeduceTemplateArgumentsByTypeMatch()
[all …]
DSemaOverload.cpp261 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer()
1541 CanTo = CanTo.castAs<PointerType>()->getPointeeType(); in IsFunctionConversion()
1542 CanFrom = CanFrom.castAs<PointerType>()->getPointeeType(); in IsFunctionConversion()
1544 CanTo = CanTo.castAs<BlockPointerType>()->getPointeeType(); in IsFunctionConversion()
1545 CanFrom = CanFrom.castAs<BlockPointerType>()->getPointeeType(); in IsFunctionConversion()
1552 CanTo = ToMPT->getPointeeType(); in IsFunctionConversion()
1553 CanFrom = FromMPT->getPointeeType(); in IsFunctionConversion()
2293 = Context.getCanonicalType(FromPtr->getPointeeType()); in BuildSimilarlyQualifiedPointerType()
2370 ToType->castAs<PointerType>()->getPointeeType()->isVoidType()) { in IsPointerConversion()
2402 QualType ToPointeeType = ToTypePtr->getPointeeType(); in IsPointerConversion()
[all …]
DSemaExprMember.cpp497 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr()
764 if (IsArrow) RecordTy = RecordTy->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
962 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
1220 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType()
1267 BaseType = Ptr->getPointeeType(); in LookupMemberExpr()
1270 BaseType = Ptr->getPointeeType(); in LookupMemberExpr()
1641 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr()
1761 if (Ptr->getPointeeType()->hasAttr(attr::NoDeref)) in CheckMemberAccessOfNoDeref()
1790 MemberType = Ref->getPointeeType(); in BuildFieldReferenceExpr()
1794 if (IsArrow) BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildFieldReferenceExpr()
DSemaExpr.cpp420 fn = ptr->getPointeeType()->getAs<FunctionType>(); in DiagnoseSentinelCalls()
424 fn = ptr->getPointeeType()->castAs<FunctionType>(); in DiagnoseSentinelCalls()
549 UO->getSubExpr()->getType()->getPointeeType().getAddressSpace(); in CheckForNullPointerDereference()
579 BaseType = BaseType->getPointeeType(); in DiagnoseDirectIsaAccess()
2396 RD = ThisType->getPointeeType()->getAsCXXRecordDecl(); in recoverFromMSUnqualifiedLookup()
2959 ? FromType->getPointeeType().getAddressSpace() in PerformObjectMemberConversion()
2964 FromRecordType = FromPtrType->getPointeeType(); in PerformObjectMemberConversion()
2975 DestRecordType = DestType->getPointeeType(); in PerformObjectMemberConversion()
2978 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
3302 type = reftype->getPointeeType(); in BuildDeclarationNameExpr()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DCanonicalType.h425 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
431 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
436 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
442 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
448 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
454 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
600 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
627 return RefType->getPointeeType();
DASTNodeTraverser.h345 void VisitPointerType(const PointerType *T) { Visit(T->getPointeeType()); } in VisitPointerType()
347 Visit(T->getPointeeType()); in VisitBlockPointerType()
350 Visit(T->getPointeeType()); in VisitReferenceType()
354 Visit(T->getPointeeType()); in VisitMemberPointerType()
402 Visit(T->getPointeeType()); in VisitObjCObjectPointerType()
DType.h2334 QualType getPointeeType() const;
2644 QualType getPointeeType() const { return PointeeType; }
2650 Profile(ID, getPointeeType());
2706 inline QualType getPointeeType() const;
2726 QualType getPointeeType() const { return PointeeType; }
2732 Profile(ID, getPointeeType());
2763 QualType getPointeeType() const {
2841 QualType getPointeeType() const { return PointeeType; }
2862 Profile(ID, getPointeeType(), getClass());
3155 QualType getPointeeType() const { return PointeeType; }
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DType.cpp77 return ty->getPointeeType().getBaseTypeIdentifier(); in getBaseTypeIdentifier()
591 return PT->getPointeeType()->isVoidType(); in isVoidPointerType()
625 QualType Type::getPointeeType() const { in getPointeeType() function in Type
627 return PT->getPointeeType(); in getPointeeType()
629 return OPT->getPointeeType(); in getPointeeType()
631 return BPT->getPointeeType(); in getPointeeType()
633 return RT->getPointeeType(); in getPointeeType()
635 return MPT->getPointeeType(); in getPointeeType()
637 return DT->getPointeeType(); in getPointeeType()
893 QualType pointeeType = recurse(T->getPointeeType()); in VisitPointerType()
[all …]
DTypePrinter.cpp381 printBefore(T->getPointeeType(), OS); in printPointerBefore()
384 if (isa<ArrayType>(T->getPointeeType())) in printPointerBefore()
394 if (isa<ArrayType>(T->getPointeeType())) in printPointerAfter()
396 printAfter(T->getPointeeType(), OS); in printPointerAfter()
402 printBefore(T->getPointeeType(), OS); in printBlockPointerBefore()
409 printAfter(T->getPointeeType(), OS); in printBlockPointerAfter()
474 printBefore(T->getPointeeType(), OS); in printMemberPointerBefore()
477 if (isa<ArrayType>(T->getPointeeType())) in printMemberPointerBefore()
493 if (isa<ArrayType>(T->getPointeeType())) in printMemberPointerAfter()
495 printAfter(T->getPointeeType(), OS); in printMemberPointerAfter()
[all …]
DFormatString.cpp332 if (PT->getPointeeType().isConstQualified()) in matchesType()
335 argTy = PT->getPointeeType(); in matchesType()
419 QualType pointeeTy = PT->getPointeeType(); in matchesType()
439 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
484 QualType pointee = PT->getPointeeType(); in matchesType()
DQualTypeNames.cpp383 QT = getFullyQualifiedType(QT->getPointeeType(), Ctx, WithGlobalNsPrefix); in getFullyQualifiedType()
394 QT = getFullyQualifiedType(QT->getPointeeType(), Ctx, WithGlobalNsPrefix); in getFullyQualifiedType()
409 QT = getFullyQualifiedType(QT->getPointeeType(), Ctx, WithGlobalNsPrefix); in getFullyQualifiedType()
DODRHash.cpp770 if (Pointer->getPointeeType() == Original) { in VisitAdjustedType()
829 AddQualType(T->getPointeeType()); in VisitBlockPointerType()
877 AddQualType(T->getPointeeType()); in VisitDependentAddressSpaceType()
915 AddQualType(T->getPointeeType()); in VisitMemberPointerType()
921 AddQualType(T->getPointeeType()); in VisitObjCObjectPointerType()
978 AddQualType(T->getPointeeType()); in VisitPointerType()
DASTStructuralEquivalence.cpp714 cast<PointerType>(T1)->getPointeeType(), in IsStructurallyEquivalent()
715 cast<PointerType>(T2)->getPointeeType())) in IsStructurallyEquivalent()
721 cast<BlockPointerType>(T1)->getPointeeType(), in IsStructurallyEquivalent()
722 cast<BlockPointerType>(T2)->getPointeeType())) in IsStructurallyEquivalent()
743 if (!IsStructurallyEquivalent(Context, MemPtr1->getPointeeType(), in IsStructurallyEquivalent()
744 MemPtr2->getPointeeType())) in IsStructurallyEquivalent()
801 if (!IsStructurallyEquivalent(Context, DepAddressSpace1->getPointeeType(), in IsStructurallyEquivalent()
802 DepAddressSpace2->getPointeeType())) in IsStructurallyEquivalent()
1191 if (!IsStructurallyEquivalent(Context, Ptr1->getPointeeType(), in IsStructurallyEquivalent()
1192 Ptr2->getPointeeType())) in IsStructurallyEquivalent()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedPointee.cpp177 QualType PointeeT = DynT->getPointeeType(); in isDereferencableUninit()
259 if (isDereferencableType(DynT->getPointeeType())) in dereference()
279 T = T->getPointeeType(); in isVoidPointer()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp367 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcmp()
409 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcopy()
451 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bzero()
493 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
533 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
574 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
843 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
871 if (! PT->getPointeeType()->isIntegralOrUnscopedEnumerationType()) in checkCall_rand()
DCastToStructChecker.cpp51 QualType OrigPointeeTy = OrigPTy->getPointeeType(); in VisitCastExpr()
52 QualType ToPointeeTy = ToPTy->getPointeeType(); in VisitCastExpr()
DMallocSizeofChecker.cpp155 A = ptrA->getPointeeType(); in typesCompatible()
156 B = ptrB->getPointeeType(); in typesCompatible()
190 QualType PointeeType = CastedType->getPointeeType(); in checkASTCodeBody()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp44 BPT->getPointeeType()->getAs<FunctionProtoType>(); in isDispatchBlock()
261 && Call->getType()->getPointeeType()->isFunctionType()){ in create_call_once_funcptr_call()
385 } else if (!CallbackType->getPointeeType().isNull()) { in create_call_once()
387 CallbackType->getPointeeType()->getAs<FunctionProtoType>(); in create_call_once()
488 QualType PredicateTy = PredicatePtrTy->getPointeeType(); in create_dispatch_once()
623 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap()
DConsumed.cpp652 (!ParamType->getPointeeType().isConstQualified() || in handleCall()
688 RetType = RetType->getPointeeType(); in propagateReturnType()
774 QualType ThisType = Constructor->getThisType()->getPointeeType(); in VisitCXXConstructExpr()
866 isConsumableType(ParamType->getPointeeType())) in VisitParmVarDecl()
867 ParamState = mapConsumableAttrState(ParamType->getPointeeType()); in VisitParmVarDecl()
869 isConsumableType(ParamType->getPointeeType())) in VisitParmVarDecl()
1202 ReturnType = Constructor->getThisType()->getPointeeType(); in determineExpectedReturnState()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIChecker.cpp166 CE.getArgExpr(1)->getType()->getPointeeType()); in allRegionsUsedByWait()
174 CE.getArgExpr(1)->getType()->getPointeeType(), Idx, SuperRegion, in allRegionsUsedByWait()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolTypePointer.h34 FORWARD_SYMBOL_ID_METHOD_WITH_NAME(getType, getPointeeType)
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
DPrettyVariableDumper.cpp177 auto PointeeType = Symbol.getPointeeType(); in dump()
200 auto PointeeType = Symbol.getPointeeType(); in dumpRight()

1234567