<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/116880>116880</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Enumerations with a fixed underlying type documentation issue
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          pinskia
      </td>
    </tr>
</table>

<pre>
    The current documentation (https://clang.llvm.org/docs/LanguageExtensions.html) has:
"Clang provides support for C++11 enumerations with a fixed underlying type within Objective-C. For example, one can write an enumeration type as:"

But it is actually allowed in C and not just Objective-C. In fact it is no longer an extension for C23.
Also the documentation mentions `__has_feature(objc_fixed_enum)` being true if the extension exists but it is false for C even though it is there for C too.

Otherwise the extension for the C case is not documented at all.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU8tupDAQ_BpzaQVBE-Zx4JCZZKSVVspl7yNjN-CssZHdnsffr2Amz9NeAFHuqq5yt4zR9I6oEfVO1M-ZTDz40EzGxb9GZq3X1-bPQKBSCOQYtFdpJMeSjXcgcDMwT1FUTwIPAg_KStfn1p7G3Ide4EF7FQUefkvXJ9nTy4XJReNdzAcercAtDHIpL55F8SQQ9zMDTMGfjKYIMU2TDwydD7AXuBO4K0sgl0YKSw8RzoYHkNCZC2lITlOwV-N64OtEC2gcvLZvpNic6GGfw8EHoIscJ0sC9-AdgZIOzsEwgXRf2W8ktw4R700uz11iMAwmglScpLVXkNb6M2kwDvYgnQbnGd5S5O_yvxx0Ur1XOw_Wu57Covwez80vVvlN7MlGDzzQj_jnryUCsSqOx0HGY0eSUyCBG9--qeOSyXH2I3ArVgW0tCQTEoHpFsZPSbqYyBHaD2OdtJFunQCdyAEPPvXDHeWBwjvK3udfw3mdwbOJ9ENiPj3_2YOSkW72P2eKNEieU8wz3VR6W21lRk25rrCo66qos6FBvVZdWVZY4HrTqXbVVaos6qLSSq_XW8pMgwU-lmW5RcQN1rlSUhW62uC2xFKVKB4LGqWxH0OamRgTNWW52myKzMqWbFy2AdHRGRZ0vvv6OQvNXPTQpj6Kx8LOcX3SsGFLzct_T-b3q1xkshRs832hesNDanPlR4GHWev-epiCn2dK4GEpnZfsbuHU4L8AAAD___6QTAw">