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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Apr 21 07:17:44 PDT 2026


================
@@ -25,6 +25,7 @@ struct Options {
 
   bool isFixedForm{false};
   int fixedFormColumns{72};
+  int freeFormColumns{1000000};
----------------
tarunprabhu wrote:

Since the value of 10000 is used as the default value of `freeFormColumns` in `FrontendOptions.h`, would it be good to use that value here too? Or is there a reason that this needs to be different?

Is there a reasonable place to define the value of 10000 that could be shared everywhere instead of hard-coding the value here? @eugeneepshteyn, do you have any thoughts on this?

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


More information about the flang-commits mailing list