Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp67 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaSYCL.cpp53 if (const auto *CAT = SemaRef.getASTContext().getAsConstantArrayType(Ty)) in isZeroSizedArray()
H A DSemaTemplateDeduction.cpp1711 const auto *CAA = S.Context.getAsConstantArrayType(A), in DeduceTemplateArgumentsByTypeMatch()
1712 *CAP = S.Context.getAsConstantArrayType(P); in DeduceTemplateArgumentsByTypeMatch()
H A DSemaExprCXX.cpp2079 = Context.getAsConstantArrayType(AllocType)) { in BuildCXXNew()
2412 auto *CAT = Context.getAsConstantArrayType(Initializer->getType()); in BuildCXXNew()
5864 if (const ConstantArrayType *CAT = Self.Context.getAsConstantArrayType(T)) in EvaluateArrayTypeTrait()
H A DSemaChecking.cpp1208 Context.getAsConstantArrayType(Format->getType()); in checkFortifiedBuiltinMemoryFunction()
1240 Context.getAsConstantArrayType(Format->getType()); in checkFortifiedBuiltinMemoryFunction()
10865 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString()
10926 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg()
11873 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(Ty)) { in isConstantSizeArrayWithMoreThanOneElement()
16193 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
H A DSemaInit.cpp992 SemaRef.Context.getAsConstantArrayType(DeclType)) { in numArrayElements()
5336 S.getASTContext().getAsConstantArrayType(Entity.getType())) { in TryOrBuildParenListInitialization()
9089 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DScanfFormatString.cpp448 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
H A DExprConstant.cpp3397 Info.Ctx.getAsConstantArrayType(S->getType()); in extractStringLiteralCharacter()
3416 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in expandStringLiteral()
3716 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject()
6464 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(T)) { in HandleDestructionImpl()
9597 auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType()); in VisitCXXNewExpr()
10059 if (auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType())) { in VisitCXXParenListOrInitListExpr()
10162 Info.Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
10650 Info.Ctx.getAsConstantArrayType(E->getType()); in ZeroInitialization()
10750 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitInitListExpr()
10777 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitCXXParenListOrInitListExpr()
[all …]
H A DRecordLayoutBuilder.cpp442 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset()
546 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
H A DMicrosoftMangle.cpp2913 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType()
3881 .getAsConstantArrayType(SL->getType()) in mangleStringLiteral()
H A DDecl.cpp2767 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in hasFlexibleArrayInit()
2782 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in getFlexibleArrayInitChars()
H A DExpr.cpp214 const auto *CAT = Context.getAsConstantArrayType(getType()); in isFlexibleArrayMemberLike()
1135 assert(Ctx.getAsConstantArrayType(Ty) && in StringLiteral()
H A DDeclCXX.cpp3388 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(T); in isValidStructGUID()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp641 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
1224 auto *CAT = CGM.getContext().getAsConstantArrayType(ILE->getType()); in EmitArrayInitialization()
1342 const ConstantArrayType *CAT = CGM.getContext().getAsConstantArrayType(T); in VisitObjCEncodeExpr()
2351 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
H A DCGExprCXX.cpp680 assert(!getContext().getAsConstantArrayType(E->getType()) in EmitSynthesizedCXXCopyCtor()
743 = CGF.getContext().getAsConstantArrayType(type)) { in EmitCXXNewAllocSize()
2099 = getContext().getAsConstantArrayType(DeleteTy)) { in EmitCXXDeleteExpr()
H A DSwiftCallingConv.cpp76 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData()
H A DTargetInfo.cpp566 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField()
671 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct()
1412 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister()
3036 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
3359 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData()
3924 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
5169 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate()
5206 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate()
6973 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in containsAnyFP16Vectors()
11109 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFPCCEligibleStructHelper()
[all …]
H A DCGCall.cpp927 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in getTypeExpansion()
2870 getContext().getAsConstantArrayType(OTy)) { in EmitFunctionProlog()
3457 if (const auto *ATy = Context.getAsConstantArrayType(QTy)) in setUsedBits()
H A DCGExprAgg.cpp414 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
H A DCGClass.cpp662 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1765 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(VD->getType()); in getConstantValFromConstArrayInitializer()
2330 assert(Ctx.getAsConstantArrayType(R->getValueType()) && in getBindingForArray()
2601 Ctx.getConstantArrayElementCount(Ctx.getAsConstantArrayType(Ty)) == 0) in tryBindSmallStruct()
H A DExprEngineCXX.cpp1212 getContext().getAsConstantArrayType(FTy)) == 0) in VisitLambdaExpr()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp941 Ctx.getASTContext().getAsConstantArrayType(Ctor->getType()); in visitArrayInitializer()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h2697 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType() function
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp1975 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in addImplicitDtorsForDestructor()
2066 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in hasTrivialDestructor()

12