[flang-commits] [flang] [flang] translate pure and elemental attribute in FIR (PR #109954)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Wed Sep 25 04:07:56 PDT 2024


================
@@ -62,6 +62,8 @@ def fir_FortranVariableFlagsAttr : fir_Attr<"FortranVariableFlags"> {
 /// Fortran procedure attributes (F2023 15.6.2.1). BIND attribute (18.3.7)
 /// is also tracked in the same enum. Recursive (resp. Impure) attribute
 /// is implied by the absence of opposite NonRecursive (resp. Pure) attribute.
+/// Beware that "elemental" does not implicitly imply "pure" as is does in
----------------
tblah wrote:

```suggestion
/// Beware that "elemental" does not implicitly imply "pure" as it does in
```

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


More information about the flang-commits mailing list