| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | StmtIterator.cpp | 111 assert(VAPtr->SizeExpr); in GetDeclExpr() 112 return const_cast<Stmt*&>(VAPtr->SizeExpr); in GetDeclExpr()
|
| H A D | Type.cpp | 191 const Expr *SizeExpr, ArraySizeModifier SizeMod, in Profile() argument 197 ID.AddBoolean(SizeExpr != nullptr); in Profile() 198 if (SizeExpr) in Profile() 199 SizeExpr->Profile(ID, Context, true); in Profile() 208 Context(Context), SizeExpr((Stmt*) e), Brackets(brackets) {} in DependentSizedArrayType() 224 QualType CanonType, Expr *SizeExpr, in DependentVectorType() argument 230 (SizeExpr ? toTypeDependence(SizeExpr->getDependence()) in DependentVectorType() 232 Context(Context), ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { in DependentVectorType() 238 QualType ElementType, const Expr *SizeExpr, in Profile() argument 242 SizeExpr->Profile(ID, Context, true); in Profile() [all …]
|
| H A D | ASTContext.cpp | 3542 const Expr *SizeExpr, in getConstantArrayType() argument 3550 if (SizeExpr && !SizeExpr->isInstantiationDependent()) in getConstantArrayType() 3551 SizeExpr = nullptr; in getConstantArrayType() 3559 ConstantArrayType::Profile(ID, *this, EltTy, ArySize, SizeExpr, ASM, in getConstantArrayType() 3572 if (!EltTy.isCanonical() || EltTy.hasLocalQualifiers() || SizeExpr) { in getConstantArrayType() 3585 ConstantArrayType::totalSizeToAlloc<const Expr *>(SizeExpr ? 1 : 0), in getConstantArrayType() 3588 ConstantArrayType(EltTy, Canon, ArySize, SizeExpr, ASM, IndexTypeQuals); in getConstantArrayType() 4074 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument 4078 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType() 4087 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() [all …]
|
| H A D | Expr.cpp | 273 const Expr *SizeExpr = dyn_cast<IntegerLiteral>(CTL.getSizeExpr()); in isFlexibleArrayMemberLike() local 274 if (!SizeExpr || SizeExpr->getExprLoc().isMacroID()) in isFlexibleArrayMemberLike()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 81 const Expr *SizeExpr = *NE->getArraySize(); in getExtentSizeOfNewTarget() local 82 SVal ElementCount = C.getSVal(SizeExpr); in getExtentSizeOfNewTarget()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Type.h | 3112 const Expr *SizeExpr, ArraySizeModifier SizeMod, 3172 Stmt *SizeExpr; 3181 SizeExpr((Stmt*) e), Brackets(brackets) {} 3189 return (Expr*) SizeExpr; 3231 Stmt *SizeExpr; 3246 return (Expr*) SizeExpr; 3327 Expr *SizeExpr; 3335 QualType can, Expr *SizeExpr, SourceLocation loc); 3338 Expr *getSizeExpr() const { return SizeExpr; } 3354 QualType ElementType, Expr *SizeExpr); [all …]
|
| H A D | ASTContext.h | 1445 const Expr *SizeExpr, 1485 QualType getDependentVectorType(QualType VectorType, Expr *SizeExpr, 1501 Expr *SizeExpr,
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 389 void registerVLASizeExpression(QualType Ty, llvm::Metadata *SizeExpr) { in registerVLASizeExpression() argument 390 SizeExprCache[Ty] = SizeExpr; in registerVLASizeExpression()
|
| H A D | CGDebugInfo.cpp | 3008 auto SizeExpr = SizeExprCache.find(QTy); in CreateType() local 3009 if (SizeExpr != SizeExprCache.end()) in CreateType() 3011 SizeExpr->getSecond() /*count*/, nullptr /*lowerBound*/, in CreateType()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaType.cpp | 2658 QualType Sema::BuildVectorType(QualType CurType, Expr *SizeExpr, in BuildVectorType() argument 2680 if (SizeExpr->isTypeDependent() || SizeExpr->isValueDependent()) in BuildVectorType() 2681 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2685 SizeExpr->getIntegerConstantExpr(Context); in BuildVectorType() 2689 << SizeExpr->getSourceRange(); in BuildVectorType() 2694 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2701 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() 2709 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() 2715 << SizeExpr->getSourceRange(); in BuildVectorType() 2721 << SizeExpr->getSourceRange() << "vector"; in BuildVectorType() [all …]
|
| H A D | TreeTransform.h | 861 Expr *SizeExpr, 873 Expr *SizeExpr, 894 Expr *SizeExpr, 905 Expr *SizeExpr, 922 QualType RebuildDependentVectorType(QualType ElementType, Expr *SizeExpr, 940 Expr *SizeExpr, 14716 Expr *SizeExpr, in RebuildArrayType() argument 14719 if (SizeExpr || !Size) in RebuildArrayType() 14720 return SemaRef.BuildArrayType(ElementType, SizeMod, SizeExpr, in RebuildArrayType() 14751 Expr *SizeExpr, in RebuildConstantArrayType() argument [all …]
|
| H A D | SemaDeclAttr.cpp | 835 const Expr *SizeExpr = AL.getArgAsExpr(0); in handleAllocSizeAttr() local 838 if (!checkPositiveIntArgument(S, AL, SizeExpr, SizeArgNoVal, /*Idx=*/1)) in handleAllocSizeAttr()
|
| H A D | SemaOpenMP.cpp | 16940 for (Expr *SizeExpr : SizeExprs) { in ActOnOpenMPSizesClause() 16942 SizeExpr, OMPC_sizes, /*StrictlyPositive=*/true); in ActOnOpenMPSizesClause()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 806 if (const Expr *SizeExpr = CNE->getArraySize().value_or(nullptr)) { in bindReturnValue() local 807 ElementCount = State->getSVal(SizeExpr, LCtx); in bindReturnValue()
|
| H A D | ExprEngineCXX.cpp | 1234 Expr *SizeExpr = FieldForCapture->getCapturedVLAType()->getSizeExpr(); in VisitLambdaExpr() local 1235 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr()
|