[flang-commits] [clang] [flang] [Flang] Adding -ffree-line-length-<value> flag (PR #192941)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Apr 20 09:58:52 PDT 2026


================
@@ -7613,6 +7612,11 @@ def ffixed_line_length_EQ : Joined<["-"], "ffixed-line-length=">, Group<f_Group>
   DocBrief<[{Set column after which characters are ignored in typical fixed-form lines in the source
 file}]>;
 def ffixed_line_length_VALUE : Joined<["-"], "ffixed-line-length-">, Group<f_Group>, Alias<ffixed_line_length_EQ>;
+def ffree_line_length_EQ : Joined<["-"], "ffree-line-length=">, Group<f_Group>,
+  HelpText<"Use <value> as character line width in free mode">,
----------------
tarunprabhu wrote:

Would the following be clearer?

```suggestion
  HelpText<"Use <value> as the maximum line width in free-form mode">,
```

I see that the wording that you have used is (intentionally?) similar to that of the help text for fixed-form mode, but that is unclear too :-)

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


More information about the flang-commits mailing list