[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
Fri Mar 15 06:58:00 PDT 2024


================
@@ -620,7 +620,7 @@ class TypeInfo {
   }
 
   // Returns the shape of array types.
-  const llvm::SmallVector<int64_t> &getShape() const { return shape; }
+  llvm::ArrayRef<int64_t> getShape() const { return shape; }
----------------
kparzysz wrote:

Sure, I'm ok with whatever you decide.

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


More information about the flang-commits mailing list