Lines Matching refs:NumDims
155 unsigned NumDims = 0; /// Number of dimensions in the shaping expression. variable
162 explicit OMPArrayShapingExpr(EmptyShell Shell, unsigned NumDims) in OMPArrayShapingExpr() argument
163 : Expr(OMPArrayShapingExprClass, Shell), NumDims(NumDims) {} in OMPArrayShapingExpr()
169 void setBase(Expr *Op) { getTrailingObjects<Expr *>()[NumDims] = Op; } in setBase()
176 return NumDims + 1; in numTrailingObjects()
180 return NumDims; in numTrailingObjects()
190 unsigned NumDims);
205 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumDims); in getDimensions()
210 return llvm::makeArrayRef(getTrailingObjects<SourceRange>(), NumDims); in getBracketsRanges()
214 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
215 const Expr *getBase() const { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
224 return child_range(Begin, Begin + NumDims + 1); in children()
229 return const_child_range(Begin, Begin + NumDims + 1); in children()