[PATCH] D25730: Remove TimeValue usage from llvm/Support

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 08:15:38 PDT 2016


labath created this revision.
labath added reviewers: zturner, mehdi_amini.
labath added a subscriber: llvm-commits.

This is a follow-up to https://reviews.llvm.org/D25416. It removes all usages of TimeValue from
llvm/Support library (except for the actual TimeValue declaration), and replaces
them with appropriate usages of std::chrono. To fascilitate this, I have added
small utility functions for converting time points and durations into appropriate
OS-specific types (FILETIME, struct timespec, ...).


https://reviews.llvm.org/D25730

Files:
  include/llvm/Object/Archive.h
  include/llvm/Support/CachePruning.h
  include/llvm/Support/FileSystem.h
  include/llvm/Support/Process.h
  lib/LTO/ThinLTOCodeGenerator.cpp
  lib/Support/CachePruning.cpp
  lib/Support/Timer.cpp
  lib/Support/Unix/Path.inc
  lib/Support/Unix/Process.inc
  lib/Support/Unix/Unix.h
  lib/Support/Windows/Path.inc
  lib/Support/Windows/Process.inc
  lib/Support/Windows/WindowsSupport.h
  tools/llvm-ar/llvm-ar.cpp
  tools/llvm-cov/CodeCoverage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25730.75008.patch
Type: text/x-patch
Size: 22263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161018/736d0799/attachment.bin>


More information about the llvm-commits mailing list