[flang-commits] [flang] [flang] add API to copy and update descriptors for assumed ranks (PR #93305)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri May 24 08:34:37 PDT 2024


================
@@ -18,11 +19,25 @@ namespace Fortran::runtime {
 
 class Descriptor;
 
+namespace typeInfo {
+class DerivedType;
+}
+
+enum LowerBoundModifier : int { Preserve = 0, SetToOnes = 1, SetToZeroes = 2 };
----------------
klausler wrote:

`enum class` might be safer if ever used in `switch`.

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


More information about the flang-commits mailing list