[all-commits] [llvm/llvm-project] 4573c3: [Flang] Fix build failure on MacOS

kiranchandramohan via All-commits all-commits at lists.llvm.org
Thu Aug 12 10:15:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4573c31f8945071d0069dcad31e17ddfeb7a2d8c
      https://github.com/llvm/llvm-project/commit/4573c31f8945071d0069dcad31e17ddfeb7a2d8c
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M flang/runtime/time-intrinsic.cpp

  Log Message:
  -----------
  [Flang] Fix build failure on MacOS

std::clock_t can be an unsigned value on some platforms like MacOS and
therefore needs a cast when initializing an std::clock_t value with -1.

Reviewed By: klausler

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




More information about the All-commits mailing list