/external/clang/lib/Sema/ |
D | SemaCast.cpp | 405 T1 = T1PtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 406 T2 = T2PtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 415 T1 = T1ObjCPtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 416 T2 = T2ObjCPtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 420 T1 = T1ObjCPtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 421 T2 = T2PtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 427 T2 = T2ObjCPtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 428 T1 = T1PtrType->getPointeeType(); in UnwrapDissimilarPointerTypes() 436 T1 = T1MPType->getPointeeType(); in UnwrapDissimilarPointerTypes() 437 T2 = T2MPType->getPointeeType(); in UnwrapDissimilarPointerTypes() [all …]
|
D | SemaExceptionSpec.cpp | 30 T = PtrTy->getPointeeType(); in GetUnderlyingFunction() 32 T = RefTy->getPointeeType(); in GetUnderlyingFunction() 34 T = MPTy->getPointeeType(); in GetUnderlyingFunction() 59 PointeeT = PT->getPointeeType(); in CheckSpecifiedExceptionType() 67 PointeeT = RT->getPointeeType(); in CheckSpecifiedExceptionType() 100 T = PT->getPointeeType(); in CheckDistantExceptionSpec() 102 T = PT->getPointeeType(); in CheckDistantExceptionSpec() 614 CanonicalSubT = RefTy->getPointeeType(); in CheckExceptionSpecSubset() 616 CanonicalSubT = PtrTy->getPointeeType(); in CheckExceptionSpecSubset() 634 CanonicalSuperT = RefTy->getPointeeType(); in CheckExceptionSpecSubset() [all …]
|
D | SemaFixItUtils.cpp | 37 (cast<PointerType>(From))->getPointeeType()); in compareTypesSimple() 39 (cast<PointerType>(To))->getPointeeType()); in compareTypesSimple() 98 S.Context.getCanonicalType(FromPtrTy->getPointeeType()), ToQTy, in tryToFixConversion()
|
D | SemaOverload.cpp | 271 return ToPtrType->getPointeeType()->isVoidType(); in isPointerConversionToVoidPointer() 1312 CanTo = CanTo.getAs<PointerType>()->getPointeeType(); in IsNoReturnConversion() 1313 CanFrom = CanFrom.getAs<PointerType>()->getPointeeType(); in IsNoReturnConversion() 1315 CanTo = CanTo.getAs<BlockPointerType>()->getPointeeType(); in IsNoReturnConversion() 1316 CanFrom = CanFrom.getAs<BlockPointerType>()->getPointeeType(); in IsNoReturnConversion() 1318 CanTo = CanTo.getAs<MemberPointerType>()->getPointeeType(); in IsNoReturnConversion() 1319 CanFrom = CanFrom.getAs<MemberPointerType>()->getPointeeType(); in IsNoReturnConversion() 1923 = Context.getCanonicalType(FromPtr->getPointeeType()); in BuildSimilarlyQualifiedPointerType() 2000 ToType->getAs<PointerType>()->getPointeeType()->isVoidType()) { in IsPointerConversion() 2032 QualType ToPointeeType = ToTypePtr->getPointeeType(); in IsPointerConversion() [all …]
|
D | SemaTemplateDeduction.cpp | 956 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch() 961 Arg = ArgRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch() 1024 if (isa<TemplateTypeParmType>(ParamRef->getPointeeType()) && in DeduceTemplateArgumentsByTypeMatch() 1025 !ParamRef->getPointeeType().getQualifiers()) in DeduceTemplateArgumentsByTypeMatch() 1027 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch() 1228 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch() 1231 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch() 1238 cast<PointerType>(Param)->getPointeeType(), in DeduceTemplateArgumentsByTypeMatch() 1250 cast<LValueReferenceType>(Param)->getPointeeType(), in DeduceTemplateArgumentsByTypeMatch() 1251 ReferenceArg->getPointeeType(), Info, Deduced, 0); in DeduceTemplateArgumentsByTypeMatch() [all …]
|
D | SemaExprMember.cpp | 466 PT->getPointeeType()->isRecordType())) { in ActOnDependentMemberExpr() 681 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr() 766 objectType = ptr->getPointeeType(); in BuildAnonymousStructUnionMemberReference() 790 baseQuals = ThisTy->castAs<PointerType>()->getPointeeType().getQualifiers(); in BuildAnonymousStructUnionMemberReference() 882 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr() 1101 return PT->getPointeeType()->isRecordType(); in isPointerToRecordType() 1148 BaseType = Ptr->getPointeeType(); in LookupMemberExpr() 1151 BaseType = Ptr->getPointeeType(); in LookupMemberExpr() 1507 if (!IsArrow && Ptr->getPointeeType()->isRecordType() && in LookupMemberExpr() 1654 MemberType = Ref->getPointeeType(); in BuildFieldReferenceExpr() [all …]
|
D | SemaExpr.cpp | 358 fn = ptr->getPointeeType()->getAs<FunctionType>(); in DiagnoseSentinelCalls() 362 fn = ptr->getPointeeType()->castAs<FunctionType>(); in DiagnoseSentinelCalls() 502 BaseType = BaseType->getPointeeType(); in DiagnoseDirectIsaAccess() 2309 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion() 2320 DestRecordType = DestType->getPointeeType(); in PerformObjectMemberConversion() 2323 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion() 2643 type = reftype->getPointeeType(); in BuildDeclarationNameExpr() 3319 ExprType = Ref->getPointeeType(); in CheckUnaryExprOrTypeTraitOperand() 3567 << op->getType()->castAs<ObjCObjectPointerType>()->getPointeeType() in checkArithmeticOnObjCPointer() 3660 ResultType = PTy->getPointeeType(); in CreateBuiltinArraySubscriptExpr() [all …]
|
/external/clang/lib/AST/ |
D | Type.cpp | 50 return ty->getPointeeType().getBaseTypeIdentifier(); in getBaseTypeIdentifier() 384 return PT->getPointeeType()->isVoidType(); in isVoidPointerType() 412 QualType Type::getPointeeType() const { in getPointeeType() function in Type 414 return PT->getPointeeType(); in getPointeeType() 416 return OPT->getPointeeType(); in getPointeeType() 418 return BPT->getPointeeType(); in getPointeeType() 420 return RT->getPointeeType(); in getPointeeType() 522 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl() 524 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl() 562 return Visit(T->getPointeeType()); in VisitPointerType() [all …]
|
D | TypePrinter.cpp | 323 printBefore(T->getPointeeType(), OS); in printPointerBefore() 326 if (isa<ArrayType>(T->getPointeeType())) in printPointerBefore() 335 if (isa<ArrayType>(T->getPointeeType())) in printPointerAfter() 337 printAfter(T->getPointeeType(), OS); in printPointerAfter() 343 printBefore(T->getPointeeType(), OS); in printBlockPointerBefore() 349 printAfter(T->getPointeeType(), OS); in printBlockPointerAfter() 400 printBefore(T->getPointeeType(), OS); in printMemberPointerBefore() 403 if (isa<ArrayType>(T->getPointeeType())) in printMemberPointerBefore() 418 if (isa<ArrayType>(T->getPointeeType())) in printMemberPointerAfter() 420 printAfter(T->getPointeeType(), OS); in printMemberPointerAfter() [all …]
|
D | MicrosoftMangle.cpp | 322 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false); in mangleVariableEncoding() 1532 QualType PointeeType = T->getPointeeType(); in mangleType() 1568 QualType PointeeTy = T->getPointeeType(); in mangleType() 1569 if (PointersAre64Bit && !T->getPointeeType()->isFunctionType()) in mangleType() 1577 mangleType(T->getPointeeType(), Range); in mangleType() 1586 if (PointersAre64Bit && !T->getPointeeType()->isFunctionType()) in mangleType() 1588 mangleType(T->getPointeeType(), Range); in mangleType() 1597 if (PointersAre64Bit && !T->getPointeeType()->isFunctionType()) in mangleType() 1599 mangleType(T->getPointeeType(), Range); in mangleType() 1680 QualType pointee = T->getPointeeType(); in mangleType()
|
D | ItaniumCXXABI.cpp | 42 if (MPT->getPointeeType()->isFunctionType()) in getMemberPointerWidthAndAlign()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 47 QualType OrigPointeeTy = OrigPTy->getPointeeType(); in checkPreStmt() 48 QualType ToPointeeTy = ToPTy->getPointeeType(); in checkPreStmt()
|
D | MallocSizeofChecker.cpp | 150 A = ptrA->getPointeeType(); in typesCompatible() 151 B = ptrB->getPointeeType(); in typesCompatible() 185 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody()
|
D | CheckSecuritySyntaxOnly.cpp | 313 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets() 354 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw() 396 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp() 572 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon() 600 if (! PT->getPointeeType()->isIntegralOrUnscopedEnumerationType()) in checkCall_rand()
|
D | NSErrorChecker.cpp | 282 PPT->getPointeeType()->getAs<ObjCObjectPointerType>(); in IsNSError() 300 const TypedefType* TT = PPT->getPointeeType()->getAs<TypedefType>(); in IsCFError()
|
D | CastSizeChecker.cpp | 41 QualType ToPointeeTy = ToPTy->getPointeeType(); in checkPreStmt()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 481 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 487 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 492 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 498 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 504 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 510 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 651 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType) 677 return RefType->getPointeeType();
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 244 if (PT->getPointeeType().isConstQualified()) in matchesType() 247 argTy = PT->getPointeeType(); in matchesType() 315 QualType pointeeTy = PT->getPointeeType(); in matchesType() 336 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType() 373 QualType pointee = PT->getPointeeType(); in matchesType()
|
D | BodyFarm.cpp | 37 BPT->getPointeeType()->getAs<FunctionProtoType>(); in isDispatchBlock() 172 QualType PredicateTy = PredicatePtrTy->getPointeeType(); in create_dispatch_once() 300 QualType PointeeTy = PT->getPointeeType(); in create_OSAtomicCompareAndSwap()
|
D | CocoaConventions.cpp | 43 if (!(PT->getPointeeType().getUnqualifiedType()->isVoidType())) in isRefType()
|
/external/clang/lib/CodeGen/ |
D | CGRTTI.cpp | 221 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() 302 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType() 311 return ContainsIncompleteClassType(MemberPointerTy->getPointeeType()); in ContainsIncompleteClassType() 616 BuildPointerTypeInfo(cast<ObjCObjectPointerType>(Ty)->getPointeeType()); in BuildTypeInfo() 620 BuildPointerTypeInfo(cast<PointerType>(Ty)->getPointeeType()); in BuildTypeInfo() 901 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo()
|
D | CodeGenTypes.cpp | 410 QualType ETy = RTy->getPointeeType(); in ConvertType() 418 QualType ETy = PTy->getPointeeType(); in ConvertType() 561 ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType()); in ConvertType() 578 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType(); in ConvertType()
|
D | CGCXXABI.cpp | 47 MPT->getPointeeType()->getAs<FunctionProtoType>(); in EmitLoadOfMemberFunctionPointer() 60 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType())->getPointerTo(); in EmitMemberDataPointerAddress()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 96 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() 315 TargetType = TargetType->getPointeeType(); in evalDynamicCast() 390 T = Ctx.getPointerType(RT->getPointeeType()); in CastRetrievedVal()
|
/external/clang/lib/ARCMigrate/ |
D | TransAPIUses.cpp | 74 QualType pointee = parm->getType()->getPointeeType(); in VisitObjCMessageExpr()
|