[flang-commits] [flang] [flang] Add guidelines for referencing the Fortran Standard (PR #188591)
via flang-commits
flang-commits at lists.llvm.org
Thu Mar 26 07:32:29 PDT 2026
================
@@ -97,6 +97,13 @@ when creating names.
well as you do and avoid distracting her by calling out usage of new
features in comments.
+### Referencing the Fortran Standard
+1. When referencing the Fortran Standard, specify the version number. The
+ default version is considered to be Fortran 2018.
+1. When referencing a rule or constraint number, qualify it with the Fortran
+ version (e.g., `F2023:R1526`). If no version is mentioned, the default is
+ assumed to be `F2018`.
----------------
kwyatt-ext wrote:
Which I see there is:
https://discourse.llvm.org/t/rfc-qualifying-syntax-rule-numbers-with-fortran-standard-version-in-comments/90167
https://github.com/llvm/llvm-project/pull/188591
More information about the flang-commits
mailing list