@@ -354,21 +354,7 @@ BENIGN_ENUM_LANGOPT(DefaultFPContractMode, FPModeKind, 2, FPM_Off, "FP contracti
354354COMPATIBLE_LANGOPT(ExpStrictFP, 1 , false , " Enable experimental strict floating point" )
355355BENIGN_LANGOPT(RoundingMath, 1 , false , " Do not assume default floating-point rounding behavior" )
356356BENIGN_ENUM_LANGOPT(FPExceptionMode, FPExceptionModeKind, 2 , FPE_Default, " FP Exception Behavior Mode type" )
357-
358- #if defined(__clang__) && defined(__has_warning)
359- #if __has_warning("-Wpreferred-type-bitfield-enum-conversion")
360- // FIXME: Remove this once the warning is fixed, https://llvm.org/PR137600
361- #pragma clang diagnostic push
362- #pragma clang diagnostic ignored "-Wpreferred-type-bitfield-enum-conversion"
363- #endif
364- #endif
365- BENIGN_ENUM_LANGOPT (FPEvalMethod, FPEvalMethodKind, 3 , FEM_UnsetOnCommandLine, " FP type used for floating point arithmetic" )
366- #if defined(__clang__) && defined(__has_warning)
367- #if __has_warning("-Wpreferred-type-bitfield-enum-conversion")
368- #pragma clang diagnostic pop
369- #endif
370- #endif
371-
357+ BENIGN_ENUM_LANGOPT(FPEvalMethod, FPEvalMethodKind, 2 , FEM_UnsetOnCommandLine, " FP type used for floating point arithmetic" )
372358ENUM_LANGOPT(Float16ExcessPrecision, ExcessPrecisionKind, 2 , FPP_Standard, " Intermediate truncation behavior for Float16 arithmetic" )
373359ENUM_LANGOPT(BFloat16ExcessPrecision, ExcessPrecisionKind, 2 , FPP_Standard, " Intermediate truncation behavior for BFloat16 arithmetic" )
374360LANGOPT(NoBitFieldTypeAlign , 1 , 0 , " bit-field type alignment" )
0 commit comments