This is an archive of the discontinued LLVM Phabricator instance.

[libc] Introduces gmtime_r to LLVM libc, based on C99/C2X/Single Unix Sp.
ClosedPublic

Authored by rtenneti on Mar 21 2021, 5:45 PM.

Details

Summary

gmtime and gmtime_r share the same common code. They call gmtime_internal
a static inline function. Thus added only validation tests for gmtime_r.

Diff Detail

Event Timeline

rtenneti created this revision.Mar 21 2021, 5:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2021, 5:45 PM
rtenneti requested review of this revision.Mar 21 2021, 5:45 PM
sivachandra accepted this revision.Mar 22 2021, 12:28 PM
This revision is now accepted and ready to land.Mar 22 2021, 12:28 PM

https://llvm.org/docs/DeveloperPolicy.html#commit-messages The subject line is usually an imperative sentence. Words like "This introduces" can be deleted.

https://llvm.org/docs/DeveloperPolicy.html#commit-messages The subject line is usually an imperative sentence. Words like "This introduces" can be deleted.

Also, please add "[libc] " prefix.

rtenneti retitled this revision from This introduces gmtime_r to LLVM libc, based on C99/C2X/Single Unix Sp. to [libc] Introduces gmtime_r to LLVM libc, based on C99/C2X/Single Unix Sp..Mar 22 2021, 2:01 PM