[all-commits] [llvm/llvm-project] ab971c: [flang][driver] Add options for -fdefault* and -fl...

arnamoy10 via All-commits all-commits at lists.llvm.org
Thu Mar 4 05:30:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab971c29a56a4c24359b499d05c30c8c9fc4dea3
      https://github.com/llvm/llvm-project/commit/ab971c29a56a4c24359b499d05c30c8c9fc4dea3
  Author: Arnamoy Bhattacharyya <arnamoy10 at gmail.com>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Flang-Driver/driver-help-hidden.f90
    M flang/test/Flang-Driver/driver-help.f90
    A flang/test/Flang-Driver/fdefault.f90
    A flang/test/Flang-Driver/flarge_sizes.f90
    M flang/test/Flang-Driver/frontend-forwarding.f90
    M flang/unittests/Frontend/CMakeLists.txt

  Log Message:
  -----------
  [flang][driver] Add options for -fdefault* and -flarge-sizes

Add support for the following Fortran dialect options:
  - -default*
  - -flarge-sizes

It also adds two test cases:
  # For checking whether `flang-new` is passing options correctly to `flang-new -fc1`.
  # For checking if `fdefault-` arguments are processed properly.

Also moves the Dialect related option parsing to a dedicated function
and adds a member `defaultKinds()` to `CompilerInvocation`

Depends on: D96032

Differential Revision: https://reviews.llvm.org/D96344




More information about the All-commits mailing list