diff options
author | ache <ache@FreeBSD.org> | 2016-09-28 20:49:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2016-09-28 20:49:33 +0000 |
commit | 4a311b69cbd24204731987f295ded05fbaa68d48 (patch) | |
tree | 8ce693da67554255d15c752d12a500be0475a57b /contrib/llvm/lib/Support/ToolOutputFile.cpp | |
parent | 1bb92b4e03440f10fd31b47e46fec5b6a6957d7e (diff) | |
download | FreeBSD-src-4a311b69cbd24204731987f295ded05fbaa68d48.zip FreeBSD-src-4a311b69cbd24204731987f295ded05fbaa68d48.tar.gz |
MFC r306075,r306109
1) Microoptimize %p case.
2) Implememt %u for GNU compatibility.
3) Don't forget to advance buf for %w/%u.
4) Fail with incomplete week (week 0) request and no such week in the
year.
5) Fix yday formula when Sunday requested and the week started from Monday.
6) Fail with impossible yday for incomplete week (week 0) and direct %w/%u
request.
7) Shift yday/wday to the first day of the year, if incomplete week
(week 0) requested and no %w/%u used.
8) For already non-standard %z extension implement GNU compatible formats:
+hh and -hh.
9) Check for incorrect values for %z.
PR: 212983 (case 3 only)
Diffstat (limited to 'contrib/llvm/lib/Support/ToolOutputFile.cpp')
0 files changed, 0 insertions, 0 deletions