Home
last modified time | relevance | path

Searched refs:ElemType (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local
67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
DMallocSizeofChecker.cpp167 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local
170 T = ElemType; in compatibleWithArrayType()
/external/llvm/lib/IR/
DDataLayout.cpp762 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment() local
763 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment()
768 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
775 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
/external/clang/lib/Sema/
DSemaInit.cpp258 InitListExpr *IList, QualType ElemType,
958 QualType ElemType, in CheckSubElementType() argument
964 if (ElemType->isReferenceType()) in CheckSubElementType()
965 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType()
971 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType()
974 CheckExplicitInitList(Entity, SubInitList, ElemType, in CheckSubElementType()
984 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
1025 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType()
1027 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType()
1030 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
[all …]
DSemaType.cpp5383 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local
5384 RequireCompleteType(Loc, ElemType, 0); in RequireLiteralType()
5397 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType()
5407 RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T); in RequireLiteralType()
DSemaOpenMP.cpp450 QualType ElemType = cast<ArrayType>(Type.getTypePtr())->getElementType(); in getTopDSA() local
451 Type = ElemType.getNonReferenceType().getCanonicalType(); in getTopDSA()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp2033 QualType ElemType = VT->getElementType(); in bindVector() local
2044 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
2046 if (ElemType->isArrayType()) in bindVector()
2048 else if (ElemType->isStructureOrClassType()) in bindVector()
/external/clang/lib/Serialization/
DASTReader.cpp5262 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local
5263 return Context.getComplexType(ElemType); in readTypeRecord()