From f104804f217b31f6c41559fc3b388a9c8f0f7571 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Fri, 2 May 2025 13:05:52 -0700 Subject: [PATCH] [clang] Remove FEM_Indeterminable (#137661) Remove FEM_Indeterminable as it is unused and cannot be stored safely in an unsigned bitfield --- clang/include/clang/Basic/LangOptions.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clang/include/clang/Basic/LangOptions.h b/clang/include/clang/Basic/LangOptions.h index 16c35bcf49339..d16f32bf618ee 100644 --- a/clang/include/clang/Basic/LangOptions.h +++ b/clang/include/clang/Basic/LangOptions.h @@ -299,10 +299,7 @@ class LangOptionsBase { }; /// Possible float expression evaluation method choices. - enum FPEvalMethodKind { - /// The evaluation method cannot be determined or is inconsistent for this - /// target. - FEM_Indeterminable = -1, + enum FPEvalMethodKind : unsigned { /// Use the declared type for fp arithmetic. FEM_Source = 0, /// Use the type double for fp arithmetic.