Home
last modified time | relevance | path

Searched refs:getAsArrayType (Results 1 – 25 of 42) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DAbstractBasicWriter.h196 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h206 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
H A DASTContext.h2706 const ArrayType *getAsArrayType(QualType T) const;
2708 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2711 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2714 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2718 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp96 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind()
279 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
296 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
589 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
629 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
H A DCodeGenTypes.cpp189 if (const auto *AT = CGT.getContext().getAsArrayType(T)) in isSafeToConvert()
934 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
H A DCodeGenFunction.cpp1974 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
2066 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2104 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
2117 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
H A DCGExprAgg.cpp483 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit()
1800 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr()
2116 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
H A DCGDecl.cpp2195 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
2295 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
H A DCGExprCXX.cpp628 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
H A DCGExprConstant.cpp2158 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp139 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
1420 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1863 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
2858 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
3127 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr()
3303 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
4435 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
5825 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom()
5891 = Context.getAsArrayType(Initializer->getType()); in InitializeFrom()
6679 if (const ArrayType *AT = S.Context.getAsArrayType(Entity.getType())) in PerformConstructorInitialization()
[all …]
H A DSemaStmtAsm.cpp760 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp2451 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
5707 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
5732 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
6914 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType()
6915 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType()
7577 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
H A DSemaDecl.cpp4332 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
4333 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
6816 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0); in deduceOpenCLAddressSpace()
6827 Type = QualType(Context.getAsArrayType(Type), 0); in deduceOpenCLAddressSpace()
12429 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
12494 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
12560 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
18160 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
H A DSemaTemplateDeduction.cpp1695 const auto *AA = S.Context.getAsArrayType(A); in DeduceTemplateArgumentsByTypeMatch()
3844 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList()
H A DSemaCast.cpp573 if (auto *AT = Context.getAsArrayType(T)) in unwrapCastAwayConstnessLevel()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp651 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
1854 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue()
2103 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType()
2243 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
H A DASTContext.cpp1779 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
5998 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes()
6002 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes()
6551 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()
6552 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity()
6763 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
6857 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
10499 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
10500 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
H A DItaniumMangle.cpp2865 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
5564 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in getLValueType()
H A DExprConstant.cpp203 const ArrayType *AT = Ctx.getAsArrayType(Type); in findMostDerivedSubobject()
8965 auto *AT = Info.Ctx.getAsArrayType(SubExpr->getType()); in VisitCastExpr()
11528 BaseType = Ctx.getAsArrayType(BaseType)->getElementType(); in isDesignatorAtObjectEnd()
11540 const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd()
13309 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp102 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
H A DRegionStore.cpp1158 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1928 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
H A DMemRegion.cpp786 const ArrayType *AT = Ctx.getAsArrayType(Ty); in getStaticSize()
H A DExprEngine.cpp1186 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1286 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3707 const ArrayType *AT = Context->getAsArrayType(Type); in RewriteObjCFieldDecl()
3715 AT = Context->getAsArrayType(AT->getElementType()); in RewriteObjCFieldDecl()

12