[all-commits] [llvm/llvm-project] 1bc7b7: [clang] Consistently use isOSSolaris()

rorth via All-commits all-commits at lists.llvm.org
Fri Sep 1 12:45:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bc7b753a5cd1599ecf0575d629460ba08f7121e
      https://github.com/llvm/llvm-project/commit/1bc7b753a5cd1599ecf0575d629460ba08f7121e
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M clang/lib/Basic/Targets/Sparc.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [clang] Consistently use isOSSolaris()

While looking over the Solaris GNU ld patch (D85309
<https://reviews.llvm.org/D85309>), I noticed that we weren't using
`isOSSolaris()` consistenly in `clang`.  This patch fixes this.

Tested on `amd64-pc-solaris2.11`.

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




More information about the All-commits mailing list