[libc][NFC] Simplify how the definiton of NULL macro is added to string.h.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 20 Dec 2022 08:59:54 +0000 (08:59 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 20 Dec 2022 19:14:27 +0000 (19:14 +0000)
commit740db97ad1613eb337ab64b482a46d34cb7846bd
tree809fc2de10b1bd6d8aafb44b06c60b50947088d7
parentc2a5f156d2977ff471934ebe6f143bc569fc4bc9
[libc][NFC] Simplify how the definiton of NULL macro is added to string.h.

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.

Reviewed By: lntue, jhuber6

Differential Revision: https://reviews.llvm.org/D140376
libc/config/gpu/api.td
libc/config/linux/api.td
libc/include/CMakeLists.txt
libc/include/llvm-libc-macros/CMakeLists.txt
libc/include/llvm-libc-macros/null-macro.h [new file with mode: 0644]
libc/include/string.h.def