| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 53 if (const auto *CAT = SemaRef.getASTContext().getAsConstantArrayType(Ty)) in isZeroSizedArray()
|
| H A D | SemaTemplateDeduction.cpp | 1682 const auto *CAA = S.Context.getAsConstantArrayType(A), in DeduceTemplateArgumentsByTypeMatch() 1683 *CAP = S.Context.getAsConstantArrayType(P); in DeduceTemplateArgumentsByTypeMatch()
|
| H A D | SemaExprCXX.cpp | 2061 = Context.getAsConstantArrayType(AllocType)) { in BuildCXXNew() 2391 auto *CAT = Context.getAsConstantArrayType(Initializer->getType()); in BuildCXXNew() 5742 if (const ConstantArrayType *CAT = Self.Context.getAsConstantArrayType(T)) in EvaluateArrayTypeTrait()
|
| H A D | SemaChecking.cpp | 1167 Context.getAsConstantArrayType(Format->getType()); in checkFortifiedBuiltinMemoryFunction() 1199 Context.getAsConstantArrayType(Format->getType()); in checkFortifiedBuiltinMemoryFunction() 10543 S.Context.getAsConstantArrayType(FExpr->getType()); in CheckFormatString() 10603 const ConstantArrayType *T = Context.getAsConstantArrayType(FExpr->getType()); in FormatStringHasSArg() 11550 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(Ty)) { in isConstantSizeArrayWithMoreThanOneElement() 15907 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
|
| H A D | SemaInit.cpp | 979 SemaRef.Context.getAsConstantArrayType(DeclType)) { in numArrayElements() 8750 = S.Context.getAsConstantArrayType(CurInit.get()->getType())) { in Perform()
|
| H A D | SemaExprObjC.cpp | 68 const ConstantArrayType *CAT = Context.getAsConstantArrayType(S->getType()); in ParseObjCStringLiteral()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 67 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProTypeMemberInitCheck.cpp | 344 while (const ConstantArrayType *ArrayT = Context.getAsConstantArrayType(T)) { in isIncompleteOrZeroLengthArrayType()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 446 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
|
| H A D | RecordLayoutBuilder.cpp | 442 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset() 546 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
|
| H A D | ExprConstant.cpp | 3395 Info.Ctx.getAsConstantArrayType(S->getType()); in extractStringLiteralCharacter() 3414 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in expandStringLiteral() 3714 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject() 6456 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(T)) { in HandleDestructionImpl() 9579 auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType()); in VisitCXXNewExpr() 10024 if (auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType())) { in VisitInitListExpr() 10127 Info.Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr() 10615 Info.Ctx.getAsConstantArrayType(E->getType()); in ZeroInitialization() 10705 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitInitListExpr() 10824 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(Type)) { in VisitCXXConstructExpr()
|
| H A D | MicrosoftMangle.cpp | 2906 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType() 3870 .getAsConstantArrayType(SL->getType()) in mangleStringLiteral()
|
| H A D | Decl.cpp | 2738 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in hasFlexibleArrayInit() 2753 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in getFlexibleArrayInitChars()
|
| H A D | DeclCXX.cpp | 3335 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(T); in isValidStructGUID()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 640 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 D | CGExprCXX.cpp | 677 assert(!getContext().getAsConstantArrayType(E->getType()) in EmitSynthesizedCXXCopyCtor() 740 = CGF.getContext().getAsConstantArrayType(type)) { in EmitCXXNewAllocSize() 2096 = getContext().getAsConstantArrayType(DeleteTy)) { in EmitCXXDeleteExpr()
|
| H A D | SwiftCallingConv.cpp | 75 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData()
|
| H A D | TargetInfo.cpp | 553 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField() 658 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct() 1402 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister() 3041 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify() 3364 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData() 3929 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl() 5180 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate() 5217 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate() 6960 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in containsAnyFP16Vectors() 10980 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFPCCEligibleStructHelper()
|
| H A D | CGCall.cpp | 921 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in getTypeExpansion() 2820 getContext().getAsConstantArrayType(OTy)) { in EmitFunctionProlog() 3407 if (const auto *ATy = Context.getAsConstantArrayType(QTy)) in setUsedBits()
|
| H A D | CGExprAgg.cpp | 398 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
|
| H A D | CGClass.cpp | 661 = CGF.getContext().getAsConstantArrayType(FieldType); in EmitMemberInitializer()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.cpp | 444 Context->getAsConstantArrayType(ArrayType); in arrayMatchesBoundExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 1764 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(VD->getType()); in getConstantValFromConstArrayInitializer() 2327 assert(Ctx.getAsConstantArrayType(R->getValueType()) && in getBindingForArray()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2707 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType() function
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 1915 if (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in addImplicitDtorsForDestructor() 2006 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in hasTrivialDestructor()
|