[all-commits] [llvm/llvm-project] ee7fb3: [Driver] Fix -f[no-]inline to override -f[no-]inli...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Apr 10 00:15:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee7fb36ba03a75e404d1030666883e050052c5a1
      https://github.com/llvm/llvm-project/commit/ee7fb36ba03a75e404d1030666883e050052c5a1
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/finline.c
    R clang/test/Driver/noinline.c

  Log Message:
  -----------
  [Driver] Fix -f[no-]inline to override -f[no-]inline-functions/-finline-hint-functions

Fix two cases to match GCC:

* -fno-inline -finline => (no cc1 option)
* -fno-inline -finline-functions => -fno-inline




More information about the All-commits mailing list