[all-commits] [llvm/llvm-project] 370d34: [flang][Driver] Add support of -fd-lines-as-commen...

Jean-Didier PAILLEUX via All-commits all-commits at lists.llvm.org
Mon Mar 3 03:55:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 370d34fe40162946905b900097ed746dd4aeb6ad
      https://github.com/llvm/llvm-project/commit/370d34fe40162946905b900097ed746dd4aeb6ad
  Author: Jean-Didier PAILLEUX <jean-didier.pailleux at sipearl.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Driver/fd-lines-as.f90
    A flang/test/Preprocessing/fd-lines-as.f90

  Log Message:
  -----------
  [flang][Driver] Add support of -fd-lines-as-comments and -fd-lines-as-code flags (#127605)

`-fd-lines-as-code` and `-fd-lines-as-comments` enables treatment for
lines beginning with `d` or `D` in fixed form sources.
Using these options in free form has no effect.
If the `-fd-lines-as-code` option is given they are treated as if the
first column contained a blank.
If the `-fd-lines-as-comments` option is given, they are treated as
comment lines.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list