[clang] [clang] Add support for -fcx-limited-range and #pragma CX_LIMITED_RANGE. (PR #68820)

Joshua Cranmer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 12:55:09 PDT 2023


================
@@ -2807,6 +2807,9 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
   bool StrictFPModel = false;
   StringRef Float16ExcessPrecision = "";
   StringRef BFloat16ExcessPrecision = "";
+  StringRef CxLimitedRange = "NoCxLimiteRange";
----------------
jcranmer-intel wrote:

This is spelled incorrectly, and yet another reason you should define a three-valued enum to represent range.

https://github.com/llvm/llvm-project/pull/68820


More information about the cfe-commits mailing list