Clang AttributeReference: emit entries for "Undocumented" attributes.
authorJames Y Knight <jyknight@google.com>
Wed, 22 Jun 2022 13:41:59 +0000 (09:41 -0400)
committerJames Y Knight <jyknight@google.com>
Wed, 22 Jun 2022 13:55:05 +0000 (09:55 -0400)
commit17e27025287b96026a4351e1d73931bb0c76dac2
tree406234a5fb2cb89bcc435ec81331be603e30f592
parentcef65864af6988d26837e72e9bb9e1bebbff1fa4
Clang AttributeReference: emit entries for "Undocumented" attributes.

Almost all attributes currently marked `Undocumented` are user-facing
attributes which _ought_ to be documented, but nobody has written it
yet. This change ensures that we at least acknowledge that these
attributes exist in the documentation, even if we have no description
of their semantics.

A new category, `InternalOnly` has been added for those few attributes
which are not user-facing, and should remain omitted from the docs.
clang/docs/InternalsManual.rst
clang/include/clang/Basic/Attr.td
clang/utils/TableGen/ClangAttrEmitter.cpp