This is an archive of the discontinued LLVM Phabricator instance.

Cleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc().
ClosedPublic

Authored by ed on Jun 24 2015, 7:17 AM.

Details

Summary

The __cloc() function is only present in case the environment does not provide a way to refer to the C locale using a compile-time constant expression. _LIBCPP_GET_C_LOCALE seems to be defined unconditionally.

This improves compilation of the locale code on CloudABI.

Diff Detail

Repository
rL LLVM

Event Timeline

ed updated this revision to Diff 28342.Jun 24 2015, 7:17 AM
ed retitled this revision from to Cleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc()..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: mclow.lists, jroelofs.
ed set the repository for this revision to rL LLVM.
ed added a subscriber: Unknown Object (MLST).
ed added a reviewer: EricWF.Jun 30 2015, 8:01 AM
ed added a comment.Jul 6 2015, 7:58 AM

Friendly ping! :-)

jroelofs accepted this revision.Jul 6 2015, 8:29 AM
jroelofs edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 6 2015, 8:29 AM
ed closed this revision.Jul 6 2015, 9:30 AM