Home
last modified time | relevance | path

Searched refs:PointeeTy (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp81 QualType PointeeTy = CastToTy->getPointeeType(); in castRegion() local
82 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
123 return MakeElementRegion(R, PointeeTy); in castRegion()
162 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
168 return MakeElementRegion(baseR, PointeeTy); in castRegion()
182 if (IsCompleteType(Ctx, PointeeTy)) { in castRegion()
184 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
202 return MakeElementRegion(newSuperR, PointeeTy, newIndex); in castRegion()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1014 QualType PointeeTy = T->getPointeeType(); in mangleType() local
1015 if (PointeeTy->isArrayType()) { in mangleType()
1018 } else if (PointeeTy->isFunctionType()) { in mangleType()
1021 mangleType(static_cast<const FunctionType *>(PointeeTy.getTypePtr()), in mangleType()
1024 if (!PointeeTy.hasQualifiers()) in mangleType()
1027 mangleType(PointeeTy); in mangleType()
1040 QualType PointeeTy = T->getPointeeType(); in mangleType() local
1041 if (!PointeeTy.hasQualifiers()) in mangleType()
1044 mangleType(PointeeTy); in mangleType()
DASTContext.cpp4204 void ASTContext::getLegacyIntegralTypeEncoding (QualType &PointeeTy) const { in getLegacyIntegralTypeEncoding()
4205 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
4206 if (const BuiltinType *BT = PointeeTy->getAs<BuiltinType>()) { in getLegacyIntegralTypeEncoding()
4207 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
4208 PointeeTy = UnsignedIntTy; in getLegacyIntegralTypeEncoding()
4210 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
4211 PointeeTy = IntTy; in getLegacyIntegralTypeEncoding()
4311 QualType PointeeTy; in getObjCEncodingForTypeImpl() local
4317 PointeeTy = PT->getPointeeType(); in getObjCEncodingForTypeImpl()
4320 PointeeTy = RT->getPointeeType(); in getObjCEncodingForTypeImpl()
[all …]
/external/clang/lib/CodeGen/
DCGRTTI.cpp56 void BuildPointerTypeInfo(QualType PointeeTy);
214 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary() local
215 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy); in TypeInfoIsInStandardLibrary()
220 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary()
903 void RTTIBuilder::BuildPointerTypeInfo(QualType PointeeTy) { in BuildPointerTypeInfo() argument
906 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerTypeInfo()
934 QualType PointeeTy = Ty->getPointeeType(); in BuildPointerToMemberTypeInfo() local
938 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerToMemberTypeInfo()
DCGDebugInfo.h105 llvm::DIType CreatePointeeType(QualType PointeeTy, llvm::DIFile F);
107 const Type *Ty, QualType PointeeTy,
DCGDebugInfo.cpp437 llvm::DIType CGDebugInfo::CreatePointeeType(QualType PointeeTy, in CreatePointeeType() argument
440 return getOrCreateType(PointeeTy, Unit); in CreatePointeeType()
442 if (const RecordType *RTy = dyn_cast<RecordType>(PointeeTy)) { in CreatePointeeType()
464 return getOrCreateType(PointeeTy, Unit); in CreatePointeeType()
470 QualType PointeeTy, in CreatePointerLikeType() argument
474 return DBuilder.createReferenceType(CreatePointeeType(PointeeTy, Unit)); in CreatePointerLikeType()
479 unsigned AS = CGM.getContext().getTargetAddressSpace(PointeeTy); in CreatePointerLikeType()
484 DBuilder.createPointerType(CreatePointeeType(PointeeTy, Unit), Size, Align); in CreatePointerLikeType()
/external/clang/lib/Sema/
DSema.cpp855 QualType PointeeTy = ExprTy->getPointeeType(); in isExprCallable() local
856 if (!PointeeTy.isNull()) in isExprCallable()
857 FunTy = PointeeTy->getAs<FunctionType>(); in isExprCallable()
DSemaChecking.cpp1909 QualType PointeeTy = DestPtrTy->getPointeeType(); in CheckMemsetcpymoveArguments() local
1913 if (PointeeTy->isVoidType()) in CheckMemsetcpymoveArguments()
1934 if (Context.getTypeSize(PointeeTy) == Context.getCharWidth()) in CheckMemsetcpymoveArguments()
1950 if (PointeeTy->isRecordType() && in CheckMemsetcpymoveArguments()
1955 << PointeeTy << Dest->getSourceRange() in CheckMemsetcpymoveArguments()
1964 if (isDynamicClassType(PointeeTy)) in CheckMemsetcpymoveArguments()
1966 else if (PointeeTy.hasNonTrivialObjCLifetime() && CMF != CMF_Memset) in CheckMemsetcpymoveArguments()
1974 << ArgIdx << FnName << PointeeTy in CheckMemsetcpymoveArguments()
DSemaOverload.cpp4967 QualType PointeeTy; in AddPointerWithMoreQualifiedTypeVariants() local
4972 PointeeTy = PTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
4979 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
4985 if (PointeeTy->isArrayType()) in AddPointerWithMoreQualifiedTypeVariants()
4987 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddPointerWithMoreQualifiedTypeVariants()
4988 if (const ConstantArrayType *Array =Context.getAsConstantArrayType(PointeeTy)) in AddPointerWithMoreQualifiedTypeVariants()
5000 QualType QPointeeTy = Context.getCVRQualifiedType(PointeeTy, CVR); in AddPointerWithMoreQualifiedTypeVariants()
5029 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
5034 if (PointeeTy->isArrayType()) in AddMemberPointerWithMoreQualifiedTypeVariants()
5040 unsigned BaseCVR = PointeeTy.getCVRQualifiers(); in AddMemberPointerWithMoreQualifiedTypeVariants()
[all …]
DSemaExpr.cpp5697 QualType PointeeTy = Operand->getType()->getPointeeType(); in checkArithmeticOpPointerOperand() local
5698 if (PointeeTy->isVoidType()) { in checkArithmeticOpPointerOperand()
5702 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
5710 QualType PointeeTy = Operand->getType()->getPointeeType(); in checkArithmeticOpPointerOperand() local
5712 Loc, PointeeTy, in checkArithmeticOpPointerOperand()
5714 << PointeeTy << Operand->getSourceRange())) in checkArithmeticOpPointerOperand()
5767 QualType PointeeTy = Operand->getType()->getPointeeType(); in checkArithmeticBinOpPointerOperands() local
5769 Loc, PointeeTy, in checkArithmeticBinOpPointerOperands()
5771 << PointeeTy << Operand->getSourceRange())) in checkArithmeticBinOpPointerOperands()
5807 QualType PointeeTy = PExp->getType()->getPointeeType(); in CheckAdditionOperands() local
[all …]
/external/llvm/include/llvm/Analysis/
DDIBuilder.h107 DIType createPointerType(DIType PointeeTy, uint64_t SizeInBits,
/external/llvm/lib/Analysis/
DDIBuilder.cpp125 DIType DIBuilder::createPointerType(DIType PointeeTy, uint64_t SizeInBits, in createPointerType() argument
138 PointeeTy in createPointerType()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp1033 QualType PointeeTy; in RewriteTypeIntoString() local
1035 PointeeTy = PT->getPointeeType(); in RewriteTypeIntoString()
1037 PointeeTy = BPT->getPointeeType(); in RewriteTypeIntoString()
1038 if ((FPRetType = PointeeTy->getAs<FunctionType>())) { in RewriteTypeIntoString()