/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 514 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer() 542 T = Context->getPointerType(T); in convertToUnqualifiedObjCType() 877 QualType PtrStructIMPL = Context->getPointerType(Context->getTagDeclType(RD)); in getIvarAccessString() 899 QualType castT = Context->getPointerType(IvarT); in getIvarAccessString() 1298 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl() 2127 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl() 2339 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2539 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2569 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2614 Context->getPointerType(DRE->getType()), in RewriteObjCStringLiteral() [all …]
|
D | RewriteObjC.cpp | 419 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer() 442 T = Context->getPointerType(T); in convertToUnqualifiedObjCType() 1103 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl() 2019 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl() 2227 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl() 2359 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperFunctionDecl() 2402 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperStretFunctionDecl() 2441 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl() 2471 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl() 2516 Context->getPointerType(DRE->getType()), in RewriteObjCStringLiteral() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 125 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal() 242 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis() 458 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(castTy), in evalCast() 459 Context.getPointerType(originalTy))) in evalCast()
|
D | ExprEngineC.cpp | 368 resultType = getContext().getPointerType(resultType); in VisitCast() 420 resultType = getContext().getPointerType(resultType); in VisitCast() 519 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
|
D | Store.cpp | 379 T = Ctx.getPointerType(RT->getPointeeType()); in CastRetrievedVal()
|
D | CallEvent.cpp | 541 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); in getInitialStackFrameContents()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 429 Res = C.getPointerType(C.CharTy); in getRepresentativeType() 432 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType() 447 Res = C.getPointerType(Res); in getRepresentativeType()
|
D | PrintfFormatString.cpp | 516 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType() 525 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1126 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes() 1394 T = getPointerType(RT->getPointeeType()); in getDeclAlign() 2198 return getPointerType(ResultType); in getObjCGCQualType() 2336 QualType ASTContext::getPointerType(QualType T) const { in getPointerType() function in ASTContext 2350 Canonical = getPointerType(getCanonicalType(T)); in getPointerType() 2401 Decayed = getPointerType(T); in getDecayedType() 2664 result = getPointerType(getVariableArrayDecayedType( in getVariableArrayDecayedType() 4127 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType() 4536 QualType PtrTy = getPointerType(PrettyArrayType->getElementType()); in getArrayDecayedType() 4839 FieldTypes[0] = getPointerType(IntTy.withConst()); in getCFConstantStringType() [all …]
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 136 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
|
D | SemaCast.cpp | 558 = Context.getPointerType(Context.getQualifiedType(SrcConstruct, *i1)); in CastsAwayConstness() 560 = Context.getPointerType(Context.getQualifiedType(DestConstruct, *i2)); in CastsAwayConstness() 1593 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryConstCast() 1594 SrcType = Self.Context.getPointerType(SrcType); in TryConstCast() 1817 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryReinterpretCast() 1818 SrcType = Self.Context.getPointerType(SrcType); in TryReinterpretCast()
|
D | SemaExprObjC.cpp | 553 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr() 677 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr() 798 Context.getPointerType(IdT), in BuildObjCArrayLiteral() 826 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral() 907 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral() 915 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral() 944 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral() 981 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
|
D | SemaExprCXX.cpp | 852 return Context.getPointerType(ClassTy); in getCurrentThisType() 874 = S.Context.getPointerType( in CXXThisScopeRAII() 1358 QualType ResultType = Context.getPointerType(AllocType); in BuildCXXNew() 2114 QualType VoidPtr = Context.getPointerType(Context.VoidTy); in DeclareGlobalNewDelete() 3150 FromType = Context.getPointerType(FromType); in PerformImplicitConversion() 4596 QualType UseType = isIndirect ? Context.getPointerType(Class) : Class; in CheckPointerToMemberOperands() 5245 = Context.getPointerType(Context.getQualifiedType(Composite1, Quals)); in FindCompositePointerType() 5247 = Context.getPointerType(Context.getQualifiedType(Composite2, Quals)); in FindCompositePointerType()
|
D | SemaExpr.cpp | 522 E = ImpCastExprToType(E, Context.getPointerType(Ty), in DefaultFunctionArrayConversion() 733 Res = ImpCastExprToType(E, Context.getPointerType(Ty), in CallExprUnaryConversions() 2529 DestType = Context.getPointerType(DestRecordType); in PerformObjectMemberConversion() 2601 QType = Context.getPointerType(QType); in PerformObjectMemberConversion() 2638 UType = Context.getPointerType(UType); in PerformObjectMemberConversion() 4819 OverloadParams.push_back(Context.getPointerType(PointeeType)); in rewriteBuiltinFunctionDecl() 5048 Result = ImpCastExprToType(Fn, Context.getPointerType(FDecl->getType()), in BuildResolvedCallExpr() 5955 QualType incompatTy = S.Context.getPointerType(S.Context.VoidTy); in checkConditionalPointerCompatibility() 5966 ResultTy = S.Context.getPointerType(ResultTy); in checkConditionalPointerCompatibility() 5983 QualType destType = S.Context.getPointerType(S.Context.VoidTy); in checkConditionalBlockPointerCompatibility() [all …]
|
D | SemaOverload.cpp | 68 return S.ImpCastExprToType(DRE, S.Context.getPointerType(DRE->getType()), in CreateFunctionRefExpr() 1503 FromType = S.Context.getPointerType(FromType); in IsStandardConversion() 1569 FromType = S.Context.getPointerType(FromType); in IsStandardConversion() 1997 return Context.getPointerType(ToPointee); in BuildSimilarlyQualifiedPointerType() 2006 return Context.getPointerType(QualifiedCanonToPointee); in BuildSimilarlyQualifiedPointerType() 2280 ConvertedType = Context.getPointerType(ConvertedType); in isObjCPointerConversion() 2291 ConvertedType = Context.getPointerType(ConvertedType); in isObjCPointerConversion() 2425 ConvertedType = Context.getPointerType(FromPointee); in isObjCWritebackConversion() 6431 Context.getPointerType(Conversion->getType()), in AddConversionCandidate() 6922 QPointerTy = Context.getPointerType(QPointeeTy); in AddPointerWithMoreQualifiedTypeVariants() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 1978 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT() 2215 C.getPointerType(PrivatesQTy).withConst().withRestrict()); in emitTaskPrivateMappingFunction() 2222 /*Id=*/nullptr, C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction() 2232 /*Id=*/nullptr, C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction() 2330 C.getPointerType(KmpTaskTWithPrivatesQTy); in emitTaskCall() 2334 QualType SharedsPtrTy = C.getPointerType(SharedsTy); in emitTaskCall() 3325 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()), in emitTargetCall() 3326 Ctx.getPointerType(RI->getType()), SourceLocation()); in emitTargetCall()
|
D | CGDebugInfo.cpp | 780 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in CreateType() 785 FType = CGM.getContext().getPointerType(Ty->getPointeeType()); in CreateType() 788 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in CreateType() 2016 getOrCreateInstanceMethodType(CGM.getContext().getPointerType(QualType( in CreateType() 2623 ResultTy = CGM.getContext().getPointerType( in getOrCreateFunctionType() 2861 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() 2870 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() 2881 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr() 3180 auto FnPtrType = CGM.getContext().getPointerType(FnTy->desugar()); in EmitDeclareOfBlockLiteralArgVariable() 3185 "__descriptor", C.getPointerType(block.NeedsCopyDispose in EmitDeclareOfBlockLiteralArgVariable()
|
D | CGObjC.cpp | 1521 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt() 1529 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt() 2927 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicSetterCopyHelperFunction() 2930 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3008 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicGetterCopyHelperFunction() 3011 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
|
D | ItaniumCXXABI.cpp | 1360 Context.getPointerType(Context.VoidPtrTy)); in buildStructorSignature() 1390 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams() 1430 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in addImplicitConstructorArgs() 1442 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall() 3316 QualType PointerType = getContext().getPointerType(Type); in EmitFundamentalRTTIDescriptor() 3317 QualType PointerTypeConst = getContext().getPointerType(Type.withConst()); in EmitFundamentalRTTIDescriptor()
|
D | CGStmtOpenMP.cpp | 54 Ctx.getPointerType(DstType), SourceLocation()); in castValueFromUintptr() 56 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr() 1967 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType())); in EmitOMPTaskDirective() 1974 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType())); in EmitOMPTaskDirective()
|
D | CGClass.cpp | 2202 QualType VoidPP = getContext().getPointerType(getContext().VoidPtrTy); in EmitDelegateCXXConstructorCall() 2729 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody() 2759 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaDelegatingInvokeBody()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 362 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess() 500 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap() 840 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound() 1055 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
|
D | DynamicTypePropagation.cpp | 149 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent())); in recordFixedType()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1048 QualType getPointerType(QualType T) const; 1049 CanQualType getPointerType(CanQualType T) const { in getPointerType() function 1050 return CanQualType::CreateUnsafe(getPointerType((QualType) T)); in getPointerType()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | MemRegion.h | 513 return ctx.getPointerType(getValueType()); in getLocationType() 556 return Ctx.getPointerType(D->getType()); in getLocationType()
|