[Chrono] Add missing include <ratio>.
authorFlorian Hahn <flo@fhahn.com>
Tue, 18 Jan 2022 08:53:57 +0000 (08:53 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 18 Jan 2022 08:59:12 +0000 (08:59 +0000)
commitab6e9a44ba8011d537cb71381c2a41a5e3354507
tree1959d263b0f184deeef642d7c3b3d75edabedbbc
parent65fbe38f0a20adac8853cb5123d57d8ce3ef17bc
[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
llvm/include/llvm/Support/Chrono.h