[llvm-dev] Using std::chrono

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 6 18:10:52 PDT 2016


Hi all,

We're considering using std::chrono more heavily in lldb. However, A quick
search of the llvm, clang, and lld codebases shos almost zero usage of
chrono. I wanted to see if this was for technical reasons (eg some compiler
doesn't support it well) or simply because nobody has needed it yet. If
it's the former then I'd like to be aware of the issues so we don't fall
into any traps.

If it's the latter, then we're good to go. Would it be worth adding any
chrono helper functions to llvm/Support? On the one hand, it seems
generally useful. But on the other hand, if nobody's using it yet, maybe
it's not generally useful enough.

Also, are there any chrono experts around who would be willing to review
some patches?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161007/3d4f699d/attachment.html>


More information about the llvm-dev mailing list