[flang-commits] [flang] [flnag] Add guidelines for referencing the Fortran Standard (PR #188591)

via flang-commits flang-commits at lists.llvm.org
Wed Mar 25 14:51:43 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`.
----------------
MattPD wrote:

FWIW, this seems reasonable to me

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


More information about the flang-commits mailing list