Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DASTContext.h2113 const ArrayType *getAsArrayType(QualType T) const;
2115 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2118 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
2121 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
2125 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.cpp514 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
1489 if (const auto *AT = getASTContext().getAsArrayType(OriginalType)) in mangleArgumentType()
1553 if (const ArrayType *AT = getASTContext().getAsArrayType(T)) { in mangleType()
DASTContext.cpp1395 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign()
4493 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
4587 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
7820 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
7821 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
DRecordLayoutBuilder.cpp1729 const ArrayType* ATy = Context.getAsArrayType(D->getType()); in LayoutField()
DExprConstant.cpp125 cast<ConstantArrayType>(Ctx.getAsArrayType(Type)); in findMostDerivedSubobject()
6656 auto *CAT = cast<ConstantArrayType>(Ctx.getAsArrayType(BaseType)); in isDesignatorAtObjectEnd()
7923 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
DType.cpp71 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in isConstant()
DItaniumMangle.cpp2241 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
DASTImporter.cpp3393 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
3395 = Importer.getToContext().getAsArrayType(D->getType()); in VisitVarDecl()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp165 if (const auto *AT = CGT.getContext().getAsArrayType(T)) in isSafeToConvert()
744 if (const auto *AT = Context.getAsArrayType(T)) { in isZeroInitializable()
DCodeGenFunction.cpp1463 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
1558 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1596 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
1609 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
DCGExprAgg.cpp1157 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitInitListExpr()
1506 getContext().getAsArrayType(Ty))) { in EmitAggregateCopy()
DCGDecl.cpp1508 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
1603 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
DCGExprConstant.cpp1414 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue()
DCGExprCXX.cpp480 = getContext().getAsArrayType(E->getType())) { in EmitCXXConstructExpr()
DCGObjCMac.cpp2237 if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildRCRecordLayout()
2243 while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildRCRecordLayout()
/external/clang/lib/Sema/
DSemaInit.cpp126 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
687 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) { in FillInEmptyInitializations()
1179 SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1575 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
2413 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
2663 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in getStructuredSubobjectInit()
2859 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
3800 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) { in TryListInitialization()
4844 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) { in tryObjCWritebackConversion()
5036 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializeFrom()
[all …]
DSemaStmtAsm.cpp555 const ArrayType *ATy = Context.getAsArrayType(T); in fillInlineAsmTypeInfo()
DSemaExprCXX.cpp1922 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
3878 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
4678 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
4703 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
DSemaTemplateDeduction.cpp1322 const ArrayType *ArrayArg = S.Context.getAsArrayType(Arg); in DeduceTemplateArgumentsByTypeMatch()
3238 ElTy = S.Context.getAsArrayType(AdjustedParamType)->getElementType(); in DeduceFromInitializerList()
DSemaDecl.cpp3364 const ArrayType *OldArray = Context.getAsArrayType(Old->getType()); in MergeVarDeclTypes()
3365 const ArrayType *NewArray = Context.getAsArrayType(New->getType()); in MergeVarDeclTypes()
3373 const ArrayType *PrevVDTy = Context.getAsArrayType(PrevVD->getType()); in MergeVarDeclTypes()
14052 else if (Context.getAsArrayType(FD->getType())) { in ActOnFields()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp97 while (const ArrayType *AT = Ctx.getAsArrayType(Ty)) { in makeZeroElementRegion()
DRegionStore.cpp1085 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitCluster()
1586 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2704 const ArrayType *VarXTy = C.getAsArrayType(VarX->getType()); in isSameEntity()
2705 const ArrayType *VarYTy = C.getAsArrayType(VarY->getType()); in isSameEntity()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3715 const ArrayType *AT = Context->getAsArrayType(Type); in RewriteObjCFieldDecl()
3723 AT = Context->getAsArrayType(AT->getElementType()); in RewriteObjCFieldDecl()

12