Searched refs:ElemType (Results 1 – 9 of 9) 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 | 163 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local 166 T = ElemType; in compatibleWithArrayType()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 771 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment() local 772 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment() 777 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment() 784 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 258 InitListExpr *IList, QualType ElemType, 892 QualType ElemType, in CheckSubElementType() argument 898 if (ElemType->isReferenceType()) in CheckSubElementType() 899 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType() 903 if (!ElemType->isRecordType() || ElemType->isAggregateType()) { in CheckSubElementType() 905 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType() 908 CheckExplicitInitList(Entity, SubInitList, ElemType, in CheckSubElementType() 920 if (ElemType->isScalarType() || ElemType->isAtomicType()) in CheckSubElementType() 921 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType() 924 assert((ElemType->isRecordType() || ElemType->isVectorType() || in CheckSubElementType() [all …]
|
D | SemaType.cpp | 5374 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local 5375 RequireCompleteType(Loc, ElemType, 0); in RequireLiteralType() 5388 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType() 5398 RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T); in RequireLiteralType()
|
D | SemaOpenMP.cpp | 393 QualType ElemType = cast<ArrayType>(Type.getTypePtr())->getElementType(); in getTopDSA() local 394 Type = ElemType.getNonReferenceType().getCanonicalType(); in getTopDSA()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 2032 QualType ElemType = VT->getElementType(); in bindVector() local 2043 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector() 2045 if (ElemType->isArrayType()) in bindVector() 2047 else if (ElemType->isStructureOrClassType()) in bindVector()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2043 const Type *ElemType = E->getType()->getArrayElementTypeNoTypeQual(); in EmitPredefinedLValue() local 2061 if (ElemType->isWideCharType()) { in EmitPredefinedLValue() 2064 getContext().getTypeSizeInChars(ElemType).getQuantity(), FunctionName, in EmitPredefinedLValue()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5083 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5084 return Context.getComplexType(ElemType); in readTypeRecord()
|