Document the Clang policies on claiming support for a feature
authorAaron Ballman <aaron@aaronballman.com>
Mon, 27 Mar 2023 13:54:29 +0000 (09:54 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 27 Mar 2023 13:55:47 +0000 (09:55 -0400)
commitce548b6130b675a433de7fecb37db8f3b56d5c5a
tree63a56621517d8a395a0ed81a7668cd29e7d1a5f1
parent42058eea7912183aa8ac1be4e8d47f39d272bafa
Document the Clang policies on claiming support for a feature

We do not currently have this written down anywhere, and as a result,
we're sometimes inconsistent with how we handle feature test macros and
the feature status pages. This is an attempt to document what I
understand our existing policies to be instead of defining a new policy.

Note, this is being added to the Clang internals manual because we
don't have a separate document for Clang developer policies. At some
point, I think we may want a standalone document for that, and this
content can be moved there at that time.

Differential Revision: https://reviews.llvm.org/D146420
clang/docs/InternalsManual.rst