This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Move a missed test to ctime.timespec.compile.pass.cpp
ClosedPublic

Authored by mstorsjo on Oct 2 2021, 1:17 AM.

Details

Summary

This was missed in ec574f5da463d303a3771597c233e52d2429db67. TIME_UTC
is a define that belongs together with timespec_get. The testcase
it's moved to is only run for >= C++17, so the surrounding ifdef guard
can be dropped.

Diff Detail

Event Timeline

mstorsjo created this revision.Oct 2 2021, 1:17 AM
mstorsjo requested review of this revision.Oct 2 2021, 1:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2021, 1:17 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Oct 4 2021, 9:59 AM

Thanks for the catch!

This revision is now accepted and ready to land.Oct 4 2021, 9:59 AM
mstorsjo updated this revision to Diff 376995.Oct 4 2021, 12:23 PM

Retrigger CI