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