Skip to content
  • Torok Edwin's avatar
    Fix TimeValue::now() on Unix. · fbcd2c76
    Torok Edwin authored
    TimeValue()::now().toEpochTime() is supposed to be the same as time(),
    but it wasn't, because toEpoch subtracted PosixZeroTime, but now()
    didn't add PosixZeroTime!
    Add a unittest to check this works.
    
    llvm-svn: 94178
    fbcd2c76
Loading