[flang-commits] [clang] [flang] [flang][Driver] Add support of -fd-lines-as-comments and -fd-lines-as-code flags (PR #127605)
Jean-Didier PAILLEUX via flang-commits
flang-commits at lists.llvm.org
Fri Feb 21 01:20:04 PST 2025
================
@@ -6747,8 +6747,16 @@ defm backtrace : BooleanFFlag<"backtrace">, Group<gfortran_Group>;
defm bounds_check : BooleanFFlag<"bounds-check">, Group<gfortran_Group>;
defm check_array_temporaries : BooleanFFlag<"check-array-temporaries">, Group<gfortran_Group>;
defm cray_pointer : BooleanFFlag<"cray-pointer">, Group<gfortran_Group>;
-defm d_lines_as_code : BooleanFFlag<"d-lines-as-code">, Group<gfortran_Group>;
-defm d_lines_as_comments : BooleanFFlag<"d-lines-as-comments">, Group<gfortran_Group>;
+defm d_lines_as_code : BooleanFFlag<"d-lines-as-code">,
+ HelpText<"Treat fixed form lines with 'd' or 'D' in the "
+ "first column as blank.">,
+ Group<gfortran_Group>,
+ Visibility<[FlangOption, FC1Option]>;
+defm d_lines_as_comments : BooleanFFlag<"d-lines-as-comments">,
+ HelpText<"Treat fixed form lines with 'd' or 'D' in "
+ "the first column as comments.">,
+ Group<gfortran_Group>,
+ Visibility<[FlangOption, FC1Option]>;
----------------
JDPailleux wrote:
Move to `f_Group` done.
Why keep `gfortran_group` unless it's to specify that a flag of this group is not supported by flang?
https://github.com/llvm/llvm-project/pull/127605
More information about the flang-commits
mailing list