[PATCH] D105595: [flang] Compile error instantiating std::clock_t on Apple clang version 11.0.0
Craig E Rasmussen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 7 14:51:50 PDT 2021
craig.rasmussen created this revision.
Herald added subscribers: rupprecht, mgorny.
Herald added a reviewer: jhenderson.
craig.rasmussen requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Apple clang gives error with initialization std::clock_t{-1}.
Simple fix is to replace with a static cast: std::clock_t{static_cast<clock_t>(-1)}
https://reviews.llvm.org/D105595
Files:
flang/runtime/time-intrinsic.cpp
llvm/docs/CommandGuide/llvm-nm.rst
llvm/docs/ReleaseNotes.rst
llvm/test/Object/nm-universal-binary.test
llvm/test/tools/llvm-nm/X86/radix.s
llvm/test/tools/llvm-nm/format-bsd.test
llvm/test/tools/llvm-nm/format-sysv-layout.test
llvm/test/tools/llvm-nm/help.test
llvm/test/tools/llvm-nm/just-symbols.test
llvm/test/tools/llvm-nm/libtool-version.test
llvm/tools/llvm-nm/CMakeLists.txt
llvm/tools/llvm-nm/Opts.td
llvm/tools/llvm-nm/llvm-nm.cpp
llvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105595.357081.patch
Type: text/x-patch
Size: 33090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210707/81fb07ab/attachment-0001.bin>
More information about the llvm-commits
mailing list