File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ FEATURE(objc_arc_fields, true)
131131FEATURE(objc_arc_weak, LangOpts.ObjCWeak)
132132FEATURE(objc_default_synthesize_properties, LangOpts.ObjC)
133133FEATURE(objc_fixed_enum, LangOpts.ObjC)
134- FEATURE(c_fixed_enum, true )
135134FEATURE(objc_instancetype, LangOpts.ObjC)
136135FEATURE(objc_kindof, LangOpts.ObjC)
137136FEATURE(objc_modules, LangOpts.ObjC && LangOpts.Modules)
@@ -309,6 +308,10 @@ EXTENSION(datasizeof, LangOpts.CPlusPlus)
309308
310309FEATURE(cxx_abi_relative_vtable, LangOpts.CPlusPlus && LangOpts.RelativeCXXABIVTables)
311310
311+ // Fixed enum feature and extension, to be relocated in this file
312+ FEATURE(c_fixed_enum, true )
313+ EXTENSION(c_fixed_enum, true )
314+
312315// CUDA/HIP Features
313316FEATURE(cuda_noinline_keyword, LangOpts.CUDA)
314317EXTENSION(cuda_implicit_host_device_templates, LangOpts.CUDA && LangOpts.OffloadImplicitHostDeviceTemplates)
Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ enum IncOverflow {
185185 V3 // pre-c23-warning {{incremented enumerator value which exceeds the range of 'int' is a C23 extension}}
186186};
187187
188-
189188#if __STDC_VERSION__ >= 202311L
190189// FIXME: GCC picks __uint128_t as the underlying type for the enumeration
191190// value and Clang picks unsigned long long.
You can’t perform that action at this time.
0 commit comments