Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp74 if (const ArrayType *AT = getContext().getAsArrayType(Ty)) { in VisitCXXConstructExpr()
175 if (const ArrayType *AT = getContext().getAsArrayType(ObjectType)) { in VisitCXXDestructor()
DRegionStore.cpp752 if (const ArrayType *AT = Ctx.getAsArrayType(T)) { in VisitBaseRegion()
1216 QualType T = Ctx.getAsArrayType(StrR->getValueType())->getElementType(); in getBindingForElement()
/external/clang/include/clang/AST/
DASTContext.h1677 const ArrayType *getAsArrayType(QualType T) const;
1679 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
1682 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T)); in getAsVariableArrayType()
1685 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T)); in getAsIncompleteArrayType()
1689 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T)); in getAsDependentSizedArrayType()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp837 getContext().getAsArrayType(Ty))) { in EmitNullInitialization()
931 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
970 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength()
983 arrayType = getContext().getAsArrayType(eltType); in emitArrayLength()
DCGDecl.cpp1273 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy()
1362 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy()
DCGExprAgg.cpp1014 CGF.getContext().getAsArrayType(E->getType())->getElementType(); in VisitInitListExpr()
DCGDebugInfo.cpp2637 QualType ET = CGM.getContext().getAsArrayType(T)->getElementType(); in EmitGlobalVariable()
2671 QualType ET = CGM.getContext().getAsArrayType(T)->getElementType(); in EmitGlobalVariable()
DCGExprConstant.cpp1184 const ArrayType *CAT = Context.getAsArrayType(DestType); in EmitConstantValue()
DCGObjCMac.cpp3891 if (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildAggrIvarLayout()
3897 while (const ArrayType *Array = CGM.getContext().getAsArrayType(FQT)) { in BuildAggrIvarLayout()
DCGExprScalar.cpp1505 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()
/external/clang/lib/AST/
DAPValue.cpp417 ElemTy = Ctx.getAsArrayType(ElemTy)->getElementType(); in printPretty()
432 const ArrayType *AT = Ctx.getAsArrayType(Ty); in printPretty()
DMicrosoftMangle.cpp278 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { in mangleVariableEncoding()
971 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
DASTContext.cpp1105 if (MinWidth && (arrayType = getAsArrayType(T))) { in getDeclAlign()
3782 const ArrayType *ASTContext::getAsArrayType(QualType T) const { in getAsArrayType() function in ASTContext
3876 const ArrayType *PrettyArrayType = getAsArrayType(Ty); in getArrayDecayedType()
6637 QualType LHSElem = getAsArrayType(LHS)->getElementType(); in mergeTypes()
6638 QualType RHSElem = getAsArrayType(RHS)->getElementType(); in mergeTypes()
DType.cpp69 if (const ArrayType *AT = Ctx.getAsArrayType(T)) in isConstant()
DRecordLayoutBuilder.cpp2050 const ArrayType* ATy = Context.getAsArrayType(D->getType()); in LayoutField()
DASTImporter.cpp2792 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
2794 = Importer.getToContext().getAsArrayType(D->getType()); in VisitVarDecl()
DItaniumMangle.cpp1787 ty = Context.getASTContext().getAsArrayType(T); in mangleType()
DExprConstant.cpp104 cast<ConstantArrayType>(Ctx.getAsArrayType(Type)); in findMostDerivedSubobject()
5230 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
/external/clang/lib/Sema/
DSemaInit.cpp79 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit()
397 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) { in FillInValueInitializations()
761 if (const ArrayType *arrayType = SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType()
1145 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType()
1913 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType); in CheckDesignatedInitializer()
2097 = SemaRef.Context.getAsArrayType(CurrentObjectType)) { in getStructuredSubobjectInit()
2285 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) { in InitializedEntity()
3936 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) { in tryObjCWritebackConversion()
4062 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) { in InitializationSequence()
4080 = Context.getAsArrayType(Initializer->getType()); in InitializationSequence()
[all …]
DSemaExprCXX.cpp1466 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) { in CheckAllocatedType()
2958 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
3688 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
3713 while (const ArrayType *AT = Self.Context.getAsArrayType(T)) { in EvaluateArrayTypeTrait()
DSemaChecking.cpp1686 if (const ArrayType *AT = Context.getAsArrayType(T)) { in checkFormatStringExpr()
4984 if (const ArrayType *AT = Context.getAsArrayType(PType)) { in CheckParmsForFunctionDef()
DSemaTemplateDeduction.cpp1234 const ArrayType *ArrayArg = S.Context.getAsArrayType(Arg); in DeduceTemplateArgumentsByTypeMatch()
DSemaDeclCXX.cpp3515 if (const ArrayType *AT = Context.getAsArrayType(T)) in RequireNonAbstractType()
3523 if (const ArrayType *AT = Context.getAsArrayType(PT->getPointeeType())) in RequireNonAbstractType()
DSemaDeclAttr.cpp2828 if (S.Context.getAsArrayType(T)) in handleInitPriorityAttr()
/external/clang/lib/Analysis/
DCFG.cpp3305 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()

12