Skip to content

Commit a6c9b5c

Browse files
Update LanguageExtensions.rst
1 parent 0ffdaf4 commit a6c9b5c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ Enumerations with a fixed underlying type
19861986
-----------------------------------------
19871987
19881988
Clang provides support for C++11 enumerations with a fixed underlying type
1989-
within Objective-C. For example, one can write an enumeration type as:
1989+
within Objective-C and C `prior to C23 <https://open-std.org/JTC1/SC22/WG14/www/docs/n3030.htm>`_. For example, one can write an enumeration type as:
19901990
19911991
.. code-block:: c++
19921992
@@ -1998,6 +1998,9 @@ value, is ``unsigned char``.
19981998
Use ``__has_feature(objc_fixed_enum)`` to determine whether support for fixed
19991999
underlying types is available in Objective-C.
20002000
2001+
Use ``__has_extension(c_fixed_enum)`` to determine whether support for fixed
2002+
underlying types is available in C.
2003+
20012004
Interoperability with C++11 lambdas
20022005
-----------------------------------
20032006

0 commit comments

Comments
 (0)