[clang] [clang][sema] Add support and documentation for `__has_extension(c_fixed_enum)` (PR #117507)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 04:10:16 PST 2024
================
@@ -308,6 +308,10 @@ EXTENSION(datasizeof, LangOpts.CPlusPlus)
FEATURE(cxx_abi_relative_vtable, LangOpts.CPlusPlus && LangOpts.RelativeCXXABIVTables)
+//Fixed enum feature and extension, to be relocated in this file
+FEATURE(c_fixed_enum, true)
+EXTENSION(c_fixed_enum, true)
----------------
Sirraide wrote:
Haven’t looked at the features code in a bit, but does this need to be both a FEATURE and an EXTENSION?
CC @AaronBallman
https://github.com/llvm/llvm-project/pull/117507
More information about the cfe-commits
mailing list