This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Simplify how the definiton of NULL macro is added to string.h.
ClosedPublic

Authored by sivachandra on Dec 20 2022, 1:26 AM.

Details

Summary

We do not list macro definitions in api.td files anymore. Not all macros
definitions have been moved out. This change moves the definition of the
NULL macro out.

Diff Detail

Event Timeline

sivachandra created this revision.Dec 20 2022, 1:26 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 20 2022, 1:26 AM
sivachandra requested review of this revision.Dec 20 2022, 1:26 AM
jhuber6 accepted this revision.Dec 20 2022, 6:23 AM

I'm guessing this is part of the ongoing effort to move away from tablegen?

This revision is now accepted and ready to land.Dec 20 2022, 6:23 AM
lntue accepted this revision.Dec 20 2022, 9:30 AM

I'm guessing this is part of the ongoing effort to move away from tablegen?

Yes. I will also be adding a "baremetal" config. I don't want to repeat the definition in its api.td file yet again.

This revision was landed with ongoing or failed builds.Dec 20 2022, 11:14 AM
This revision was automatically updated to reflect the committed changes.