[llvm-branch-commits] [clang] [clang] Remove FEM_Indeterminable (#137661) (PR #138337)
Oliver Hunt via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 2 13:17:40 PDT 2025
https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/138337
Remove FEM_Indeterminable as it is unused and cannot be stored safely in an unsigned bitfield
>From f104804f217b31f6c41559fc3b388a9c8f0f7571 Mon Sep 17 00:00:00 2001
From: Oliver Hunt <oliver at apple.com>
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.
More information about the llvm-branch-commits
mailing list