[flang-commits] [flang] [Flang][Lower] NFC: Replace SmallVector with more suitable alternatives (PR #85227)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Thu Mar 14 08:59:37 PDT 2024


================
@@ -842,8 +842,8 @@ bool ClauseProcessor::processLink(
 mlir::omp::MapInfoOp
 createMapInfoOp(fir::FirOpBuilder &builder, mlir::Location loc,
                 mlir::Value baseAddr, mlir::Value varPtrPtr, std::string name,
-                mlir::SmallVector<mlir::Value> bounds,
-                mlir::SmallVector<mlir::Value> members, uint64_t mapType,
+                mlir::ArrayRef<mlir::Value> bounds,
+                mlir::ArrayRef<mlir::Value> members, uint64_t mapType,
----------------
kparzysz wrote:

Could you change this to `llvm::`?  The `llvm` namepace is used everywhere else in this file for these containers.

https://github.com/llvm/llvm-project/pull/85227


More information about the flang-commits mailing list