[PATCH] D95460: [flang][driver] Add forced form flags and -ffixed-line-length

Faris via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 09:06:35 PST 2021


FarisRehman updated this revision to Diff 320811.
FarisRehman marked an inline comment as done.
FarisRehman added a comment.

Address review comment

This revision addresses a review comment by @tskeith

Summary of changes:

- Add a new option, ffixed_line_length_EQ, that defines `-ffixed-line-length=`
- Make option ffixed_line_length_VALUE (`-ffixed-line-length-`) an alias of ffixed_line_length_EQ, to be consistent with gfortran
- Add flag FlangOnlyOption to ffixed-form, ffree-form and ffixed-line-length


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95460/new/

https://reviews.llvm.org/D95460

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Flang.cpp
  clang/lib/Driver/ToolChains/Flang.h
  flang/include/flang/Frontend/FrontendOptions.h
  flang/lib/Frontend/CompilerInstance.cpp
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/test/Flang-Driver/Inputs/fixed-form-test.f
  flang/test/Flang-Driver/Inputs/fixed-line-length-test.f
  flang/test/Flang-Driver/driver-help-hidden.f90
  flang/test/Flang-Driver/driver-help.f90
  flang/test/Flang-Driver/fixed-free-flag.f90
  flang/test/Flang-Driver/fixed-line-length.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95460.320811.patch
Type: text/x-patch
Size: 17105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210202/9fb1a492/attachment-0001.bin>


More information about the cfe-commits mailing list