Home
last modified time | relevance | path

Searched refs:PointeeType (Results 1 – 19 of 19) sorted by relevance

/external/llvm/include/llvm/ADT/
DSmallSet.h118 template <typename PointeeType, unsigned N>
119 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp184 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody() local
185 if (PointeeType->isVoidType()) in checkASTCodeBody()
200 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
205 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
226 << PointeeType.getAsString() << "', which is incompatible with " in checkASTCodeBody()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp409 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
411 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
417 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
418 if (PointeeType->isVoidTy()) in ConvertType()
419 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
421 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
577 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType() local
579 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
DCGException.cpp917 QualType PointeeType = PT->getPointeeType(); in InitCatchParam() local
921 if (!PointeeType->isRecordType()) { in InitCatchParam()
DCGDebugInfo.cpp1007 llvm::DIType PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType() local
1009 DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateInstanceMethodType()
/external/clang/include/clang/AST/
DType.h1970 QualType PointeeType;
1977 PointeeType(Pointee) {
1983 QualType getPointeeType() const { return PointeeType; }
2061 QualType PointeeType; // Block is some kind of pointer type
2067 PointeeType(Pointee) {
2074 QualType getPointeeType() const { return PointeeType; }
2094 QualType PointeeType;
2103 PointeeType(Referencee)
2113 QualType getPointeeTypeAsWritten() const { return PointeeType; }
2118 T = T->PointeeType->castAs<ReferenceType>();
[all …]
/external/clang/lib/AST/
DMicrosoftMangle.cpp251 void manglePointerExtQualifiers(Qualifiers Quals, const Type *PointeeType);
1291 const Type *PointeeType) { in manglePointerExtQualifiers() argument
1293 if (PointersAre64Bit && (!PointeeType || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
1819 QualType PointeeType = T->getPointeeType(); in mangleType() local
1820 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
1825 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
1827 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
DType.cpp528 QualType PointeeType; in getPointeeCXXRecordDecl() local
530 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
532 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
536 if (const RecordType *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
DDeclCXX.cpp1767 CanQualType PointeeType in isCopyOrMoveConstructor() local
1771 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
1777 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
DExprConstant.cpp2750 QualType PointeeType; in foundPointer() local
2752 PointeeType = PT->getPointeeType(); in foundPointer()
2754 if (PointeeType.isNull() || !RHS.isInt() || in foundPointer()
2766 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, Offset)) in foundPointer()
2908 QualType PointeeType; in foundPointer() local
2910 PointeeType = PT->getPointeeType(); in foundPointer()
2918 if (!HandleLValueArrayAdjustment(Info, E, LVal, PointeeType, in foundPointer()
6248 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitCallExpr() local
6250 if (!PointeeType->isIncompleteType() && in VisitCallExpr()
6251 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) { in VisitCallExpr()
DItaniumMangle.cpp2103 QualType PointeeType = T->getPointeeType(); in mangleType() local
2104 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) { in mangleType()
2125 mangleType(PointeeType); in mangleType()
DASTContext.cpp2284 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getLValueReferenceType() local
2285 Canonical = getLValueReferenceType(getCanonicalType(PointeeType)); in getLValueReferenceType()
2321 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getRValueReferenceType() local
2322 Canonical = getRValueReferenceType(getCanonicalType(PointeeType)); in getRValueReferenceType()
/external/clang/lib/Sema/
DTreeTransform.h638 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
644 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
663 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
3813 QualType PointeeType in TransformPointerType() local
3815 if (PointeeType.isNull()) in TransformPointerType()
3819 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
3824 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
3832 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
3833 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
3851 QualType PointeeType in TransformBlockPointerType() local
[all …]
DSemaTemplateDeduction.cpp1286 QualType PointeeType; in DeduceTemplateArgumentsByTypeMatch() local
1288 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1291 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1299 PointeeType, in DeduceTemplateArgumentsByTypeMatch()
3140 QualType PointeeType = ParamRefType->getPointeeType(); in AdjustFunctionParmAndArgTypesForDeduction() local
3151 if (!PointeeType.getQualifiers() && in AdjustFunctionParmAndArgTypesForDeduction()
3152 isa<TemplateTypeParmType>(PointeeType) && in AdjustFunctionParmAndArgTypesForDeduction()
3161 ParamType = PointeeType; in AdjustFunctionParmAndArgTypesForDeduction()
DSemaOverload.cpp7810 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7811 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7814 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
7825 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7826 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7829 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
DSemaExprObjC.cpp460 QualType PointeeType = PT->getPointeeType(); in BuildObjCBoxedExpr() local
461 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
DSemaDecl.cpp6609 QualType PointeeType = PT->getPointeeType(); in getOpenCLKernelParameterType() local
6610 if (PointeeType->isPointerType()) in getOpenCLKernelParameterType()
6612 return PointeeType.getAddressSpace() == 0 ? PrivatePtrKernelParam in getOpenCLKernelParameterType()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1130 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1131 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/lib/Serialization/
DASTReader.cpp5092 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5093 return Context.getPointerType(PointeeType); in readTypeRecord()
5123 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5124 return Context.getBlockPointerType(PointeeType); in readTypeRecord()
5132 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5133 return Context.getLValueReferenceType(PointeeType, Record[1]); in readTypeRecord()
5141 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5142 return Context.getRValueReferenceType(PointeeType); in readTypeRecord()
5150 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5152 if (PointeeType.isNull() || ClassType.isNull()) in readTypeRecord()
[all …]