[clang] [Clang][Driver] Override complex number calculation method by -fno-fa… (PR #132680)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 03:55:31 PDT 2025


================
@@ -2997,6 +2997,7 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
   LangOptions::ComplexRangeKind Range = LangOptions::ComplexRangeKind::CX_None;
   std::string ComplexRangeStr = "";
   std::string GccRangeComplexOption = "";
+  std::string LastComplexRangeOption = "";
----------------
s-watanabe314 wrote:

Does this mean that `= ""` is unnecessary? I initialized it in the same way as `GccRangeComplexOption`, but should I remove it?

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


More information about the cfe-commits mailing list