Searched refs:ElemType (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local 67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
|
D | MallocSizeofChecker.cpp | 167 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local 170 T = ElemType; in compatibleWithArrayType()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 762 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/ |
D | SemaInit.cpp | 258 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 …]
|
D | SemaType.cpp | 5383 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()
|
D | SemaOpenMP.cpp | 450 QualType ElemType = cast<ArrayType>(Type.getTypePtr())->getElementType(); in getTopDSA() local 451 Type = ElemType.getNonReferenceType().getCanonicalType(); in getTopDSA()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 2033 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/ |
D | ASTReader.cpp | 5262 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5263 return Context.getComplexType(ElemType); in readTypeRecord()
|