Home
last modified time | relevance | path

Searched refs:getAsConstantArrayType (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp66 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp906 auto *CAT = CGM.getContext().getAsConstantArrayType(ILE->getType()); in EmitArrayInitialization()
1089 const ConstantArrayType *CAT = CGM.getContext().getAsConstantArrayType(T); in VisitObjCEncodeExpr()
1950 CGM.getContext().getAsConstantArrayType(DestType); in tryEmitPrivate()
2151 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
H A DCGExprCXX.cpp662 assert(!getContext().getAsConstantArrayType(E->getType()) in EmitSynthesizedCXXCopyCtor()
725 = CGF.getContext().getAsConstantArrayType(type)) { in EmitCXXNewAllocSize()
2032 = getContext().getAsConstantArrayType(DeleteTy)) { in EmitCXXDeleteExpr()
H A DSwiftCallingConv.cpp75 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData()
H A DTargetInfo.cpp485 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField()
580 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct()
1257 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister()
2720 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
3010 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData()
4567 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate()
4600 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate()
H A DCGExprAgg.cpp389 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
H A DCGCall.cpp910 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in getTypeExpansion()
2379 getContext().getAsConstantArrayType(OTy)) { in EmitFunctionProlog()
H A DCGClass.cpp638 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
H A DCodeGenModule.cpp4442 const ConstantArrayType *CAT = Context.getAsConstantArrayType(E->getType()); in GetConstantArrayFromStringLiteral()
H A DCGExpr.cpp3626 auto *CAT = C.getAsConstantArrayType(ArrayTy); in EmitOMPArraySectionExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DScanfFormatString.cpp444 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
H A DRecordLayoutBuilder.cpp441 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset()
538 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
H A DMicrosoftMangle.cpp2487 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType()
3403 .getAsConstantArrayType(SL->getType()) in mangleStringLiteral()
H A DExprConstant.cpp2658 Info.Ctx.getAsConstantArrayType(S->getType()); in extractStringLiteralCharacter()
2675 Info.Ctx.getAsConstantArrayType(S->getType()); in expandStringLiteral()
2851 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject()
6787 Info.Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
7141 Info.Ctx.getAsConstantArrayType(E->getType()); in ZeroInitialization()
7191 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(E->getType()); in VisitInitListExpr()
7301 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(Type)) { in VisitCXXConstructExpr()
H A DExpr.cpp935 assert(Ctx.getAsConstantArrayType(Ty) && in StringLiteral()
H A DASTContext.cpp8895 const ConstantArrayType* LCAT = getAsConstantArrayType(LHS); in mergeTypes()
8896 const ConstantArrayType* RCAT = getAsConstantArrayType(RHS); in mergeTypes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1673 if (auto CAT = Ctx.getAsConstantArrayType(VD->getType())) in getBindingForElement()
2060 assert(Ctx.getAsConstantArrayType(R->getValueType()) && in getBindingForArray()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h2413 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp1786 if (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in addImplicitDtorsForDestructor()
1877 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in hasTrivialDestructor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1598 S.Context.getAsConstantArrayType(Arg); in DeduceTemplateArgumentsByTypeMatch()
1603 S.Context.getAsConstantArrayType(Param); in DeduceTemplateArgumentsByTypeMatch()
H A DSemaChecking.cpp8252 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
8310 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()
9254 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(Ty)) { in isConstantSizeArrayWithMoreThanOneElement()
12392 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
H A DSemaExprCXX.cpp1890 = Context.getAsConstantArrayType(AllocType)) { in BuildCXXNew()
5316 if (const ConstantArrayType *CAT = Self.Context.getAsConstantArrayType(T)) in EvaluateArrayTypeTrait()
H A DSemaInit.cpp847 SemaRef.Context.getAsConstantArrayType(DeclType)) { in numArrayElements()
7963 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
H A DSemaDeclCXX.cpp1408 if (auto *CAT = Context.getAsConstantArrayType(DecompType)) { in CheckCompleteDecompositionDeclaration()
4614 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType()
11693 const ConstantArrayType *ArrayTy = S.Context.getAsConstantArrayType(T); in buildSingleCopyAssignRecursively()
H A DSemaExprObjC.cpp67 const ConstantArrayType *CAT = Context.getAsConstantArrayType(S->getType()); in ParseObjCStringLiteral()

12