Home
last modified time | relevance | path

Searched refs:getBaseElementType (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h72 QualType Destroyed = S.Context.getBaseElementType(DestroyedOrNull); in VisitCXXDeleteExpr()
H A DSemaExprCXX.cpp1638 ElemTy = Context.getBaseElementType(Ty); in BuildCXXTypeConstructExpr()
2543 QualType BaseAllocType = Context.getBaseElementType(AT); in CheckAllocatedType()
2747 QualType AllocElemType = Context.getBaseElementType(AllocType); in FindAllocationFunctions()
3708 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete()
5372 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
5382 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
5403 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
5455 if (auto *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) { in EvaluateUnaryTypeTrait()
5490 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait()
5502 if (C.getBaseElementType(T).isConstQualified()) in EvaluateUnaryTypeTrait()
[all …]
H A DSemaCUDA.cpp454 getASTContext().getBaseElementType(F->getType())->getAs<RecordType>(); in inferTargetForImplicitSpecialMember()
H A DSemaDecl.cpp7272 if (Se.Context.getBaseElementType(R)->isHalfType()) { in diagnoseOpenCLTypes()
7340 VarType = S.getASTContext().getBaseElementType(VarType); in emitReadOnlyPlacementAttrWarning()
8484 CanonT = SemaRef.Context.getBaseElementType(CanonT); in CheckC23ConstexprVarType()
13036 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind()
13101 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind()
13167 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind()
13708 !Context.getBaseElementType(VDecl->getType()).isConstQualified()) && in AddInitializerToDecl()
13788 Context.getBaseElementType(Ty), in ActOnInitializerError()
14010 Context.getBaseElementType(Type), in ActOnUninitializedDecl()
14039 = Context.getBaseElementType(Type)->getAs<RecordType>()) { in ActOnUninitializedDecl()
[all …]
H A DSemaInit.cpp2258 QualType ET = SemaRef.Context.getBaseElementType(FD->getType()); in CheckStructUnionTypes()
2396 QualType ET = SemaRef.Context.getBaseElementType(F->getType()); in CheckStructUnionTypes()
2471 QualType ET = SemaRef.Context.getBaseElementType(Field->getType()); in CheckStructUnionTypes()
2540 QualType ET = SemaRef.Context.getBaseElementType(I->getType()); in CheckStructUnionTypes()
5456 T = S.Context.getBaseElementType(T); in TryValueInitialization()
5529 QualType DestType = S.Context.getBaseElementType(Entity.getType()); in TryDefaultInitialization()
7290 if (checkDestructorReference(S.Context.getBaseElementType(AT), Loc, S)) in PerformConstructorInitialization()
H A DSemaDeclCXX.cpp4953 SemaRef.Context.getBaseElementType(Field->getType()); in BuildImplicitMemberInitializer()
5717 QualType FieldType = Context.getBaseElementType(Field->getType()); in MarkBaseAndMemberDestructorsReferenced()
5859 const auto *RD = Context.getBaseElementType(T)->getAsCXXRecordDecl(); in isAbstractType()
5881 T = Context.getBaseElementType(T); in RequireNonAbstractType()
6031 T = Info.S.Context.getBaseElementType(T); in CheckPolymorphic()
7439 QualType BaseType = S.Context.getBaseElementType(F->getType()); in defaultedSpecialMemberIsConstexpr()
9485 QualType FieldType = S.Context.getBaseElementType(FD->getType()); in shouldDeleteForField()
9549 QualType UnionFieldType = S.Context.getBaseElementType(UI->getType()); in shouldDeleteForField()
9994 QualType FieldType = S.Context.getBaseElementType(FI->getType()); in checkTrivialClassMembers()
13649 } else if (auto *RT = S.Context.getBaseElementType(F in visitField()
[all...]
H A DSemaOpenACC.cpp1168 QualType EltTy = getASTContext().getBaseElementType(BaseTy); in CheckReductionVar()
H A DSemaDeclObjC.cpp5265 QualType QT = Context.getBaseElementType(Iv->getType()); in CollectIvarsToConstructOrDestruct()
5536 Context.getBaseElementType(Field->getType()) in SetIvarInitializers()
5544 << Context.getBaseElementType(Field->getType())); in SetIvarInitializers()
H A DSemaType.cpp2011 EltTy = Context.getBaseElementType(EltTy); in checkArrayElementAlignment()
2284 const QualType ArrType = Context.getBaseElementType(T); in BuildArrayType()
9256 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType()
9613 return Context.getBaseElementType(BaseType); in BuiltinRemoveExtent()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp321 static Type *getBaseElementType(const CallInst *Call) { in getBaseElementType() function
348 CInfo.RecordAlignment = DL->getABITypeAlign(getBaseElementType(Call)); in IsPreserveDIAccessIndexCall()
369 CInfo.RecordAlignment = DL->getABITypeAlign(getBaseElementType(Call)); in IsPreserveDIAccessIndexCall()
429 auto *GEP = GetElementPtrInst::CreateInBounds(getBaseElementType(Call), in replaceWithGEP()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp123 Ctx.getBaseElementType(*this)->getAsCXXRecordDecl()) { in isNonConstantStorage()
2609 return Context.getBaseElementType(*this).isCXX98PODType(Context); in isCXX98PODType()
2624 return Context.getBaseElementType(*this).isCXX98PODType(Context); in isCXX98PODType()
2658 return Context.getBaseElementType(*this).isTrivialType(Context); in isTrivialType()
2707 return isTriviallyCopyableTypeImpl(Context.getBaseElementType(type), in isTriviallyCopyableTypeImpl()
2759 return Context.getBaseElementType(CanonicalType) in isBitwiseCloneableType()
2797 QualType BaseElementType = Context.getBaseElementType(*this); in isTriviallyRelocatableType()
H A DRecordLayoutBuilder.cpp209 Context.getBaseElementType(FD->getType())->getAs<RecordType>(); in ComputeEmptySubobjectSizes()
443 QualType ElemTy = Context.getBaseElementType(AT); in CanPlaceFieldSubobjectAtOffset()
547 QualType ElemTy = Context.getBaseElementType(AT); in UpdateEmptyFieldSubobjects()
1937 QualType T = Context.getBaseElementType(D->getType()); in LayoutField()
H A DDeclCXX.cpp718 QualType T = Ctx.getBaseElementType(FD->getType()); in hasSubobjectAtOffsetZeroOfEmptyBaseType()
1067 QualType T = Context.getBaseElementType(Field->getType()); in addedMember()
H A DASTContext.cpp1700 QualType BaseT = getBaseElementType(T); in getDeclAlign()
1879 T = getBaseElementType(T); in getTypeAlignIfKnown()
2832 return hasUniqueObjectRepresentations(getBaseElementType(Ty), in hasUniqueObjectRepresentations()
7405 QualType ASTContext::getBaseElementType(const ArrayType *array) const { in getBaseElementType() function in ASTContext
7406 return getBaseElementType(array->getElementType()); in getBaseElementType()
7409 QualType ASTContext::getBaseElementType(QualType type) const { in getBaseElementType() function in ASTContext
7659 T = getBaseElementType(T); in getInnerObjCOwnership()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp367 T = Pass.Ctx.getBaseElementType(T); in isGCOwnedNonObjC()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp195 QualType EltTy = Ctx.getBaseElementType(CAT); in visitArray()
652 QualType EltTy = Ctx.getBaseElementType(QualType(AT, 0)); in visitArray()
H A DCodeGenTypes.cpp867 T = Context.getBaseElementType(T); in isZeroInitializable()
H A DCGExprAgg.cpp1981 .getBaseElementType(E->getType())->getAs<RecordType>()) { in CheckAggExprForMemSetUse()
2194 QualType BaseType = getContext().getBaseElementType(Ty); in EmitAggregateCopy()
H A DCGClass.cpp666 QualType BaseElementTy = CGF.getContext().getBaseElementType(Array); in EmitMemberInitializer()
1398 QualType FieldBaseElementType = Context.getBaseElementType(Field->getType()); in FieldHasTrivialDestructorBody()
H A DCGExprCXX.cpp1576 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
H A DCGExprConstant.cpp1776 QualType Ty = CGM.getContext().getBaseElementType(D.getType()); in tryEmitPrivateForVarInit()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2832 QualType getBaseElementType(const ArrayType *VAT) const;
2836 QualType getBaseElementType(QualType QT) const;
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1882 Ty = Context->getBaseElementType(Ty); in addAutomaticObjDestruction()
4871 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr()
5333 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2160 QualType ElemTy = Context->getBaseElementType(T); in needToScanForQualifiers()
3637 QualType ElemTy = Context->getBaseElementType(Type); in RewriteObjCFieldDeclType()
3729 Type = Context->getBaseElementType(Type); in RewriteLocallyDefinedNamedAggregates()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp461 const QualType ElemTy = Ctx.getBaseElementType(SuperR->getValueType()); in checkInit()

12