Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DASTContext.h2088 const ArrayType *getAsArrayType(QualType T) const;
2090 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2093 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2096 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2100 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/external/clang/lib/AST/
DAPValue.cpp460 ElemTy = Ctx.getAsArrayType(ElemTy)->getElementType(); in printPretty()
475 const ArrayType *AT = Ctx.getAsArrayType(Ty); in printPretty()
DMicrosoftMangle.cpp478 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
1437 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleArgumentType()
1480 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
DASTContext.cpp1400 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
4439 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
4533 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
7705 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
7706 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
DRecordLayoutBuilder.cpp1714 const ArrayType* ATy = Context.getAsArrayType(D->getType()); in LayoutField()
DExprConstant.cpp124 cast<ConstantArrayType>(Ctx.getAsArrayType(Type)); in findMostDerivedSubobject()
6378 auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd()
7627 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
DItaniumMangle.cpp1924 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
DType.cpp71 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in isConstant()
DASTImporter.cpp3169 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
3171 = Importer.getToContext().getAsArrayType(D->getType()); in VisitVarDecl()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp165 if (const auto *AT = CGT.getContext().getAsArrayType(T)) in isSafeToConvert()
734 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
DCodeGenFunction.cpp1394 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
1489 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1527 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
1540 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
DCGExprAgg.cpp1150 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitInitListExpr()
1469 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
DCGDecl.cpp1499 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
1594 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
DCGExprConstant.cpp1388 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue()
DCGObjCMac.cpp2230 if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildRCRecordLayout()
2236 while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildRCRecordLayout()
/external/clang/lib/Sema/
DSemaInit.cpp125 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
631 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) { in FillInEmptyInitializations()
1116 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1513 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
2327 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
2577 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in getStructuredSubobjectInit()
2773 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
3710 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
4726 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) { in tryObjCWritebackConversion()
4914 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom()
[all …]
DSemaStmtAsm.cpp555 const ArrayType *ATy = Context.getAsArrayType(T); in fillInlineAsmTypeInfo()
DSemaExprCXX.cpp1688 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
3618 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
4414 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
4439 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
DSemaTemplateDeduction.cpp1326 const ArrayType *ArrayArg = S.Context.getAsArrayType(Arg); in DeduceTemplateArgumentsByTypeMatch()
3246 ElTy = S.Context.getAsArrayType(AdjustedParamType)->getElementType(); in DeduceFromInitializerList()
DSemaDecl.cpp3277 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
3278 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
3284 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
3285 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
13600 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
DSemaChecking.cpp3084 if (const ArrayType *AT = S.Context.getAsArrayType(T)) { in checkFormatStringExpr()
8365 const ArrayType *AT = S.Context.getAsArrayType(PType); in diagnoseArrayStarInParamType()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp97 while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeZeroElementRegion()
DRegionStore.cpp1084 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1586 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3776 const ArrayType *AT = Context->getAsArrayType(Type); in RewriteObjCFieldDecl()
3784 AT = Context->getAsArrayType(AT->getElementType()); in RewriteObjCFieldDecl()
/external/clang/lib/Analysis/
DCFG.cpp3874 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()

12