[gn build] manually port 18f9e25ce1fa43 (AttrDocTable)
authorNico Weber <thakis@chromium.org>
Fri, 13 Aug 2021 01:29:12 +0000 (21:29 -0400)
committerNico Weber <thakis@chromium.org>
Fri, 13 Aug 2021 01:30:59 +0000 (21:30 -0400)
commit189911203779e793cb7767ad233d9994a88c7ea3
treeb2e57d0be3907b538384f6124cc8b5454bf50c7e
parent60e643fe05f52fff829892f746c2785a86612722
[gn build] manually port 18f9e25ce1fa43 (AttrDocTable)

Also clang ClangAttrEmitter for -gen-clang-attr-doc-table to be
like all other tablegen: Produce a .inc file with the generated bits
and put the static parts into a regular .cpp file that includes the
.inc file.
clang/lib/AST/AttrDocTable.cpp [new file with mode: 0644]
clang/lib/AST/CMakeLists.txt
clang/utils/TableGen/ClangAttrEmitter.cpp
llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn