[all-commits] [llvm/llvm-project] 4b3dba: Fix nanosecond printing for TimePoint formatter.

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Jul 14 15:51:59 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b3dbaaa32420ab2cb66981b03122e2e4804f7eb
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M llvm/lib/Support/Chrono.cpp
    M llvm/unittests/Support/Chrono.cpp

  Log Message:
  Fix nanosecond printing for TimePoint formatter.

There was a copy-paste of the wrong field width, so the nanoseconds
weren't correctly padded with zeros.  Found by inspection.

More information about the All-commits mailing list