[all-commits] [llvm/llvm-project] 764690: [clang] Remove `-triple` from the invocations of `...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Dec 10 09:59:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 764690b8a883c9466324f9c33ab1047a0661e8ef
      https://github.com/llvm/llvm-project/commit/764690b8a883c9466324f9c33ab1047a0661e8ef
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/test/Driver/flang/flang.f90
    M clang/test/Driver/flang/flang_ucase.F90

  Log Message:
  -----------
  [clang] Remove `-triple` from the invocations of `flang-new -fc1`

This is just a small change in the Flang tool within libclangDriver.
Currently it passes `-triple` when calling `flang-new -fc1` for various
driver Jobs. As there is no support for code-generation, `-triple` is
not required and should remain unsupported. It is safe to remove it.

This hasn't been a problem as the affected driver Jobs are not yet
implemented or used. However, we will be adding support for them in the
near future and the fact `-triple` is added will become a problem.

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




More information about the All-commits mailing list