[all-commits] [llvm/llvm-project] ab6e9a: [Chrono] Add missing include <ratio>.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Jan 18 00:59:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab6e9a44ba8011d537cb71381c2a41a5e3354507
https://github.com/llvm/llvm-project/commit/ab6e9a44ba8011d537cb71381c2a41a5e3354507
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M llvm/include/llvm/Support/Chrono.h
Log Message:
-----------
[Chrono] Add missing include <ratio>.
The file uses std::ratio without including the correct header.
Previously ratio was indirectly provided through chrono in libc++ but
that's not the case any longer.
This should fix a build failure with modules enabled:
https://green.lab.llvm.org/green/job/clang-stage2-Rthinlto/5185/console
More information about the All-commits
mailing list