summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2025-05-02 13:05:52 -0700
committerOliver Hunt <oliver@apple.com>2025-05-02 13:16:31 -0700
commitf104804f217b31f6c41559fc3b388a9c8f0f7571 (patch)
tree8e49532aea095c9c7352743bbe6ce8a6ac139068
parentebfae55af454e5b81ca4f532714fd2e589297b8d (diff)
[clang] Remove FEM_Indeterminable (#137661)users/ojhunt/remove-fem-indeterminable-20.x
Remove FEM_Indeterminable as it is unused and cannot be stored safely in an unsigned bitfield
-rw-r--r--clang/include/clang/Basic/LangOptions.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/LangOptions.h b/clang/include/clang/Basic/LangOptions.h
index 16c35bcf4933..d16f32bf618e 100644
--- a/clang/include/clang/Basic/LangOptions.h
+++ b/clang/include/clang/Basic/LangOptions.h
@@ -299,10 +299,7 @@ public:
};
/// 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.