Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp99 const ArrayType *AT = getASTContext().getAsArrayType(FieldTy); in CheckCountedByAttrOnField()
H A DSemaInit.cpp163 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
519 SemaRef.Context.getAsArrayType(Entity.getParent()->getType()); in HandleEmbed()
913 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) { in FillInEmptyInitializations()
1500 SemaRef.Context.getAsArrayType(ElemType))) { in CheckSubElementType()
1545 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
2036 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
3131 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
3398 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in createInitListExpr()
3562 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
4737 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
[all …]
H A DSemaStmtAsm.cpp768 if (const auto *ATy = Context.getAsArrayType(T)) in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp2542 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
6194 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
6219 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
7275 if ((Arr1 = Context.getAsArrayType(Composite1)) && in FindCompositePointerType()
7276 (Arr2 = Context.getAsArrayType(Composite2))) { in FindCompositePointerType()
7934 else if (auto *AT = Context.getAsArrayType(BaseType)) in ActOnStartCXXMemberReference()
H A DSemaDecl.cpp4363 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
4364 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
6837 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0); in deduceOpenCLAddressSpace()
6848 Type = QualType(Context.getAsArrayType(Type), 0); in deduceOpenCLAddressSpace()
13035 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
13100 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
13166 if (const auto *AT = S.Context.getAsArrayType(QT)) in visitWithKind()
19029 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
H A DSemaTemplateDeduction.cpp1890 const auto *AA = S.Context.getAsArrayType(A); in DeduceTemplateArgumentsByTypeMatch()
4274 auto *ArrTy = S.Context.getAsArrayType(AdjustedParamType); in DeduceFromInitializerList()
/src/contrib/llvm-project/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()
582 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
622 if (const auto *AT = getContext().getAsArrayType(FT)) { in visitWithKind()
H A DCGExprAgg.cpp511 CGF.getContext().getAsArrayType(ArrayQTy)->getElementType(); in EmitArrayInit()
1823 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitArrayInitLoopExpr()
2153 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
H A DCodeGenFunction.cpp2142 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
2233 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
2271 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
2283 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
H A DCodeGenTypes.cpp861 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
H A DCGDecl.cpp2326 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
2426 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
H A DCGExprCXX.cpp638 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
H A DCGExprConstant.cpp2417 const ArrayType *ArrayTy = CGM.getContext().getAsArrayType(DestType); in tryEmitPrivate()
/src/contrib/llvm-project/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.h2814 const ArrayType *getAsArrayType(QualType T) const;
2816 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2819 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2822 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2826 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp105 if (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeElementRegion()
186 while (const auto *AT = getContext().getAsArrayType(Ty)) in computeObjectUnderConstruction()
H A DRegionStore.cpp1157 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1921 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
H A DMemRegion.cpp866 if (isFlexibleArrayMemberCandidate(Ctx.getAsArrayType(Ty))) in getStaticSize()
H A DExprEngine.cpp1444 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1625 while (const ArrayType *AT = getContext().getAsArrayType(T)) { in ProcessTemporaryDtor()
/src/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp667 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
2078 QualType ElemT = getASTContext().getAsArrayType(T)->getElementType(); in mangleTemplateArgValue()
2326 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleFunctionArgumentType()
2467 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
H A DASTContext.cpp1706 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
6505 auto *AT1 = getAsArrayType(T1); in UnwrapSimilarArrayTypes()
6509 auto *AT2 = getAsArrayType(T2); in UnwrapSimilarArrayTypes()
7084 const ArrayType *VarXTy = getAsArrayType(VarX->getType()); in isSameEntity()
7085 const ArrayType *VarYTy = getAsArrayType(VarY->getType()); in isSameEntity()
7292 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
7388 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
11215 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
11216 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
H A DItaniumMangle.cpp2984 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
6260 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in getLValueType()
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp1487 const ArrayType *AT = S.getCtx().getAsArrayType(CurrentType); in InterpretOffsetOf()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5316 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()
5346 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()

12