Home
last modified time | relevance | path

Searched refs:PointeeType (Results 1 – 17 of 17) 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.cpp154 QualType PointeeType = CastedType->getAs<PointerType>()->getPointeeType(); in checkASTCodeBody() local
155 if (PointeeType->isVoidType()) in checkASTCodeBody()
169 if (!BR.getContext().hasSameUnqualifiedType(PointeeType, SizeofType)) { in checkASTCodeBody()
185 << PointeeType.getAsString() << "' is incompatible with " in checkASTCodeBody()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp388 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
390 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
396 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
397 if (PointeeType->isVoidTy()) in ConvertType()
398 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
400 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
546 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType() local
548 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
DCGException.cpp946 QualType PointeeType = PT->getPointeeType(); in InitCatchParam() local
950 if (!PointeeType->isRecordType()) { in InitCatchParam()
DCGDebugInfo.cpp869 llvm::DIType PointeeType = getOrCreateType(PointeeTy, Unit); in getOrCreateMethodType() local
870 llvm::DIType ThisPtrType = DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateMethodType()
DCGExpr.cpp2865 QualType PointeeType in EmitAtomicExpr() local
2868 LValue::MakeAddr(Ptr, PointeeType, alignChars, in EmitAtomicExpr()
/external/clang/include/clang/AST/
DType.h1871 QualType PointeeType;
1878 PointeeType(Pointee) {
1884 QualType getPointeeType() const { return PointeeType; }
1905 QualType PointeeType; // Block is some kind of pointer type
1911 PointeeType(Pointee) {
1918 QualType getPointeeType() const { return PointeeType; }
1939 QualType PointeeType;
1948 PointeeType(Referencee)
1958 QualType getPointeeTypeAsWritten() const { return PointeeType; }
1963 T = T->PointeeType->castAs<ReferenceType>();
[all …]
/external/clang/lib/AST/
DMicrosoftMangle.cpp984 QualType PointeeType = T->getPointeeType(); in mangleType() local
985 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) { in mangleType()
990 mangleQualifiers(PointeeType.getQualifiers(), true); in mangleType()
992 mangleType(PointeeType.getLocalUnqualifiedType()); in mangleType()
DDeclCXX.cpp1666 CanQualType PointeeType in isCopyOrMoveConstructor() local
1670 if (PointeeType.getUnqualifiedType() != ClassTy) in isCopyOrMoveConstructor()
1676 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
DItaniumMangle.cpp1991 QualType PointeeType = T->getPointeeType(); in mangleType() local
1992 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) { in mangleType()
2013 mangleType(PointeeType); in mangleType()
DASTContext.cpp1592 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getLValueReferenceType() local
1593 Canonical = getLValueReferenceType(getCanonicalType(PointeeType)); in getLValueReferenceType()
1629 QualType PointeeType = (InnerRef ? InnerRef->getPointeeType() : T); in getRValueReferenceType() local
1630 Canonical = getRValueReferenceType(getCanonicalType(PointeeType)); in getRValueReferenceType()
DExprConstant.cpp4408 QualType PointeeType = E->getArg(1)->IgnoreImpCasts()->getType()-> in VisitCallExpr() local
4410 if (!PointeeType->isIncompleteType() && in VisitCallExpr()
4411 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) { in VisitCallExpr()
/external/clang/lib/Sema/
DTreeTransform.h588 QualType RebuildPointerType(QualType PointeeType, SourceLocation Sigil);
594 QualType RebuildBlockPointerType(QualType PointeeType, SourceLocation Sigil);
613 QualType RebuildMemberPointerType(QualType PointeeType, QualType ClassType,
3520 QualType PointeeType in TransformPointerType() local
3522 if (PointeeType.isNull()) in TransformPointerType()
3526 if (PointeeType->getAs<ObjCObjectType>()) { in TransformPointerType()
3531 Result = SemaRef.Context.getObjCObjectPointerType(PointeeType); in TransformPointerType()
3539 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
3540 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
3558 QualType PointeeType in TransformBlockPointerType() local
[all …]
DSemaTemplateDeduction.cpp1146 QualType PointeeType; in DeduceTemplateArgumentsByTypeMatch() local
1148 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1151 PointeeType = PointerArg->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1159 PointeeType, in DeduceTemplateArgumentsByTypeMatch()
2825 QualType PointeeType = ParamRefType->getPointeeType(); in AdjustFunctionParmAndArgTypesForDeduction() local
2838 if (!PointeeType.getQualifiers() && in AdjustFunctionParmAndArgTypesForDeduction()
2839 isa<TemplateTypeParmType>(PointeeType) && in AdjustFunctionParmAndArgTypesForDeduction()
2848 ParamType = PointeeType; in AdjustFunctionParmAndArgTypesForDeduction()
DSemaExprObjC.cpp413 QualType PointeeType = PT->getPointeeType(); in BuildObjCBoxedExpr() local
414 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
DSemaOverload.cpp7211 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7212 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7215 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
7226 QualType PointeeType = (*Ptr)->getPointeeType(); in addSubscriptOverloads() local
7227 if (!PointeeType->isObjectType()) in addSubscriptOverloads()
7230 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads()
/external/clang/lib/Serialization/
DASTReader.cpp3731 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3732 return Context.getPointerType(PointeeType); in readTypeRecord()
3740 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3741 return Context.getBlockPointerType(PointeeType); in readTypeRecord()
3749 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3750 return Context.getLValueReferenceType(PointeeType, Record[1]); in readTypeRecord()
3758 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3759 return Context.getRValueReferenceType(PointeeType); in readTypeRecord()
3767 QualType PointeeType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
3769 if (PointeeType.isNull() || ClassType.isNull()) in readTypeRecord()
[all …]