[flang-commits] [clang] [flang] [flang][Driver] Add support of -fd-lines-as-comments and -fd-lines-as-code flags (PR #127605)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Tue Feb 18 08:12:26 PST 2025
================
@@ -6747,8 +6747,18 @@ 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<"In fixed form, with lines beginning with 'd' or 'D', the first "
+ "column will be treated as if it contained a blank.">,
+ Group<gfortran_Group>,
+ Visibility<[FlangOption, FC1Option]>;
+defm d_lines_as_comments
+ : BooleanFFlag<"d-lines-as-comments">,
+ HelpText<"In fixed form, with lines beginning with 'd' or 'D', the lines "
+ "will be treated as a comment.">,
----------------
tarunprabhu wrote:
Consider rephrasing
```suggestion
HelpText<"In fixed form, lines beginning with 'd' or 'D' are"
"treated as comment lines">,
```
https://github.com/llvm/llvm-project/pull/127605
More information about the flang-commits
mailing list