This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add ability to generate enum types/values to HdrGen.
ClosedPublic

Authored by sivachandra on Feb 28 2020, 12:57 PM.

Details

Summary

A target to generate the std C threads.h file has been added. This
utilizes the new feature added in this change.

Diff Detail

Event Timeline

sivachandra created this revision.Feb 28 2020, 12:57 PM

Fix a clang-tidy warning pointed out by the presubmit bot.

phosek accepted this revision.Feb 28 2020, 6:46 PM

LGTM

libc/include/threads.h.def
17

Super minor nit: only a single empty line for consistency with other .def files.

This revision is now accepted and ready to land.Feb 28 2020, 6:46 PM
This revision was automatically updated to reflect the committed changes.
sivachandra marked an inline comment as done.Feb 28 2020, 11:32 PM