[libc] Add a TableGen based header generator.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 5 Nov 2019 19:40:26 +0000 (11:40 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 22 Nov 2019 21:02:24 +0000 (13:02 -0800)
commitb47f9eb55d1814e006d1a2a971ff6272ebd89bcb
tree1339b2e39ff49de41a332a5f640177cd40665bf8
parenta6150b48cea00ab31e9335cc73770327acc4cb3a
[libc] Add a TableGen based header generator.

Summary:
* The Python header generator has been removed.
* Docs giving a highlevel overview of the header gen scheme have been
  added.

Reviewers: phosek, abrachet

Subscribers: mgorny, MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D70197
24 files changed:
libc/CMakeLists.txt
libc/cmake/modules/LLVMLibCRules.cmake
libc/config/linux/api.td [new file with mode: 0644]
libc/config/public_api.td [new file with mode: 0644]
libc/docs/ground_truth_specification.rst [new file with mode: 0644]
libc/docs/header_gen_scheme.svg [new file with mode: 0644]
libc/docs/header_generation.rst
libc/docs/mechanics_of_public_api.rst [new file with mode: 0644]
libc/include/CMakeLists.txt
libc/include/string.h [deleted file]
libc/include/string.h.def [new file with mode: 0644]
libc/spec/spec.td [new file with mode: 0644]
libc/spec/stdc.td [new file with mode: 0644]
libc/utils/CMakeLists.txt [new file with mode: 0644]
libc/utils/HdrGen/CMakeLists.txt [new file with mode: 0644]
libc/utils/HdrGen/Command.h [new file with mode: 0644]
libc/utils/HdrGen/Generator.cpp [new file with mode: 0644]
libc/utils/HdrGen/Generator.h [new file with mode: 0644]
libc/utils/HdrGen/IncludeFileCommand.cpp [new file with mode: 0644]
libc/utils/HdrGen/IncludeFileCommand.h [new file with mode: 0644]
libc/utils/HdrGen/Main.cpp [new file with mode: 0644]
libc/utils/HdrGen/PublicAPICommand.cpp [new file with mode: 0644]
libc/utils/HdrGen/PublicAPICommand.h [new file with mode: 0644]
libc/utils/build_scripts/gen_hdr.py [deleted file]