Home
last modified time | relevance | path

Searched refs:getPointerType (Results 1 – 25 of 55) sorted by relevance

123

/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp514 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 …]
DRewriteObjC.cpp419 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/
DSValBuilder.cpp125 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()
DExprEngineC.cpp368 resultType = getContext().getPointerType(resultType); in VisitCast()
420 resultType = getContext().getPointerType(resultType); in VisitCast()
519 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
DStore.cpp379 T = Ctx.getPointerType(RT->getPointeeType()); in CastRetrievedVal()
DCallEvent.cpp541 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); in getInitialStackFrameContents()
/external/clang/lib/Analysis/
DFormatString.cpp429 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
432 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
447 Res = C.getPointerType(Res); in getRepresentativeType()
DPrintfFormatString.cpp516 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
525 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getArgType()
/external/clang/lib/AST/
DASTContext.cpp1126 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/
DSemaFixItUtils.cpp136 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
DSemaCast.cpp558 = 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()
DSemaExprObjC.cpp553 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()
DSemaExprCXX.cpp852 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()
DSemaExpr.cpp522 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 …]
DSemaOverload.cpp68 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/
DCGOpenMPRuntime.cpp1978 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()
DCGDebugInfo.cpp780 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()
DCGObjC.cpp1521 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()
DItaniumCXXABI.cpp1360 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()
DCGStmtOpenMP.cpp54 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()
DCGClass.cpp2202 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/
DCStringChecker.cpp362 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()
DDynamicTypePropagation.cpp149 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent())); in recordFixedType()
/external/clang/include/clang/AST/
DASTContext.h1048 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/
DMemRegion.h513 return ctx.getPointerType(getValueType()); in getLocationType()
556 return Ctx.getPointerType(D->getType()); in getLocationType()

123