[flang-commits] [flang] [flang] Fix continued literals incorrect padding with -ffixed-line-length=none (PR #225051)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Sep 29 11:57:53 PDT 2026
================
@@ -24,7 +24,7 @@ struct Options {
using Predefinition = std::pair<std::string, std::optional<std::string>>;
bool isFixedForm{false};
- int fixedFormColumns{72};
+ std::optional<int> fixedFormColumns{72};
----------------
eugeneepshteyn wrote:
Nit: same here. `Options` is used without going through the frontend (e.g. by `f18-parse-demo`), so a short note on the empty state would help:
```suggestion
// Fixed-form column limit; std::nullopt means no limit.
std::optional<int> fixedFormColumns{72};
```
https://github.com/llvm/llvm-project/pull/225051
More information about the flang-commits
mailing list