Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DSmallSet.h113 template <typename PointeeType, unsigned N>
114 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp185 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody() local
186 if (PointeeType->isVoidType()) in checkASTCodeBody()
201 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
206 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
227 << PointeeType.getAsString() << "', which is incompatible with " in checkASTCodeBody()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp404 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
406 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
412 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
413 if (PointeeType->isVoidTy()) in ConvertType()
414 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
416 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
572 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType() local
574 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
DCGException.cpp958 QualType PointeeType = PT->getPointeeType(); in InitCatchParam() local
962 if (!PointeeType->isRecordType()) { in InitCatchParam()
DCGDebugInfo.cpp998 llvm::DIType PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateInstanceMethodType() local
999 llvm::DIType ThisPtrType = DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateInstanceMethodType()
/external/clang/include/clang/AST/
DType.h1954 QualType PointeeType;
1961 PointeeType(Pointee) {
1967 QualType getPointeeType() const { return PointeeType; }
1987 QualType PointeeType; // Block is some kind of pointer type
1993 PointeeType(Pointee) {
2000 QualType getPointeeType() const { return PointeeType; }
2020 QualType PointeeType;
2029 PointeeType(Referencee)
2039 QualType getPointeeTypeAsWritten() const { return PointeeType; }
2044 T = T->PointeeType->castAs<ReferenceType>();
[all …]
/external/clang/lib/Sema/
DTreeTransform.h601 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
607 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
626 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
3544 QualType PointeeType in TransformPointerType() local
3546 if (PointeeType.isNull()) in TransformPointerType()
3550 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
3555 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
3563 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
3564 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
3582 QualType PointeeType in TransformBlockPointerType() local
[all …]
DSemaTemplateDeduction.cpp1182 QualType PointeeType; in DeduceTemplateArgumentsByTypeMatch() local
1184 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1187 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1195 PointeeType, in DeduceTemplateArgumentsByTypeMatch()
2898 QualType PointeeType = ParamRefType->getPointeeType(); in AdjustFunctionParmAndArgTypesForDeduction() local
2909 if (!PointeeType.getQualifiers() && in AdjustFunctionParmAndArgTypesForDeduction()
2910 isa<TemplateTypeParmType>(PointeeType) && in AdjustFunctionParmAndArgTypesForDeduction()
2919 ParamType = PointeeType; in AdjustFunctionParmAndArgTypesForDeduction()
DSemaExprObjC.cpp436 QualType PointeeType = PT->getPointeeType(); in BuildObjCBoxedExpr() local
437 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
DSemaOverload.cpp7409 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7410 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7413 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
7424 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7425 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7428 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1457 QualType PointeeType = T->getPointeeType(); in mangleType() local
1458 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
1463 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
1465 mangleType(PointeeType.getLocalUnqualifiedType(), Range); in mangleType()
DType.cpp536 QualType PointeeType; in getPointeeCXXRecordDecl() local
538 PointeeType = PT->getPointeeType(); in getPointeeCXXRecordDecl()
540 PointeeType = RT->getPointeeType(); in getPointeeCXXRecordDecl()
544 if (const RecordType *RT = PointeeType->getAs<RecordType>()) in getPointeeCXXRecordDecl()
DDeclCXX.cpp1658 CanQualType PointeeType in isCopyOrMoveConstructor() local
1662 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
1668 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
DItaniumMangle.cpp2002 QualType PointeeType = T->getPointeeType(); in mangleType() local
2003 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) { in mangleType()
2024 mangleType(PointeeType); in mangleType()
DASTContext.cpp2097 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getLValueReferenceType() local
2098 Canonical = getLValueReferenceType(getCanonicalType(PointeeType)); in getLValueReferenceType()
2134 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getRValueReferenceType() local
2135 Canonical = getRValueReferenceType(getCanonicalType(PointeeType)); in getRValueReferenceType()
DExprConstant.cpp4382 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitCallExpr() local
4384 if (!PointeeType->isIncompleteType() && in VisitCallExpr()
4385 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) { in VisitCallExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1129 QualType PointeeType = PT->getPointeeType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1130 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/lib/Serialization/
DASTReader.cpp4259 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4260 return Context.getPointerType(PointeeType); in readTypeRecord()
4268 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4269 return Context.getBlockPointerType(PointeeType); in readTypeRecord()
4277 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4278 return Context.getLValueReferenceType(PointeeType, Record[1]); in readTypeRecord()
4286 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4287 return Context.getRValueReferenceType(PointeeType); in readTypeRecord()
4295 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4297 if (PointeeType.isNull() || ClassType.isNull()) in readTypeRecord()
[all …]