[all-commits] [llvm/llvm-project] 10826e: [flang][driver] Add extension options and -finput-...

Faris via All-commits all-commits at lists.llvm.org
Tue Feb 16 03:27:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10826ea7b1c12c2afe421448996f98ed66869020
      https://github.com/llvm/llvm-project/commit/10826ea7b1c12c2afe421448996f98ed66869020
  Author: Faris Rehman <faris.rehman at arm.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/include/flang/Parser/parsing.h
    M flang/lib/Frontend/CompilerInstance.cpp
    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/escaped-backslash.f90
    A flang/test/Flang-Driver/frontend-forwarding.f90
    A flang/test/Flang-Driver/implicit-none.f90
    M flang/test/Semantics/oldparam02.f90
    M flang/test/Semantics/resolve64.f90

  Log Message:
  -----------
  [flang][driver] Add extension options and -finput-charset

Add the following options:
* -fimplicit-none and -fno-implicit-none
* -fbackslash and -fno-backslash
* -flogical-abbreviations and -fno-logical-abbreviations
* -fxor-operator and -fno-xor-operator
* -falternative-parameter-statement
* -finput-charset=<value>

Summary of changes:
- Enable extensions in CompilerInvocation#ParseFrontendArgs
- Add encoding_ to Fortran::frontend::FrontendOptions
- Add encoding to Fortran::parser::Options

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




More information about the All-commits mailing list