Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicWriter.h193 elemTy = ctx.getAsArrayType(elemTy)->getElementType(); in writeLValuePathSerializationHelper()
H A DAbstractBasicReader.h207 elemTy = getASTContext().getAsArrayType(elemTy)->getElementType(); in readLValuePathSerializationHelper()
H A DASTContext.h2696 const ArrayType *getAsArrayType(QualType T) const;
2698 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2701 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2704 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2708 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/openbsd/gnu/llvm/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.cpp1997 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
2089 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2127 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
2140 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
H A DCGExprAgg.cpp501 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit()
1836 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr()
2152 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
H A DCGDecl.cpp2199 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
2299 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
H A DCGExprCXX.cpp631 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
H A DCGExprConstant.cpp2157 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp149 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
1434 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1877 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
3139 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr()
3315 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
4462 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
5327 S.getASTContext().getAsArrayType(Entity.getType())) { in TryOrBuildParenListInitialization()
6102 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom()
6168 = Context.getAsArrayType(Initializer->getType()); in InitializeFrom()
6999 if (const ArrayType *AT = S.Context.getAsArrayType(Entity.getType())) in PerformConstructorInitialization()
[all …]
H A DSemaStmtAsm.cpp766 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp2472 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
5829 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
5854 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
6934 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType()
6935 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType()
7597 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
H A DSemaDecl.cpp4407 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
4408 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
6895 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0); in deduceOpenCLAddressSpace()
6906 Type = QualType(Context.getAsArrayType(Type), 0); in deduceOpenCLAddressSpace()
12789 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
12854 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
12920 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
18757 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
H A DSemaTemplateDeduction.cpp1724 const auto *AA = S.Context.getAsArrayType(A); in DeduceTemplateArgumentsByTypeMatch()
3956 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList()
H A DSemaCast.cpp574 if (auto *AT = Context.getAsArrayType(T)) in unwrapCastAwayConstnessLevel()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp104 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
185 while (const auto *AT = getContext().getAsArrayType(Ty)) in computeObjectUnderConstruction()
H A DRegionStore.cpp1163 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1934 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
H A DMemRegion.cpp786 const ArrayType *AT = Ctx.getAsArrayType(Ty); in getStaticSize()
H A DExprEngine.cpp1427 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1604 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
/openbsd/gnu/llvm/clang/lib/AST/
H A DMicrosoftMangle.cpp652 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
1858 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue()
2107 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType()
2247 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
H A DASTContext.cpp1752 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
6047 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes()
6051 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes()
6631 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()
6632 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity()
6839 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
6933 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
10630 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
10631 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
H A DItaniumMangle.cpp2862 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
5565 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in getLValueType()
H A DExprConstant.cpp203 const ArrayType *AT = Ctx.getAsArrayType(Type); in findMostDerivedSubobject()
8986 auto *AT = Info.Ctx.getAsArrayType(SubExpr->getType()); in VisitCastExpr()
11601 BaseType = Ctx.getAsArrayType(BaseType)->getElementType(); in isDesignatorAtObjectEnd()
11613 const auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd()
13429 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp5310 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()
5340 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()

12