[clang] [NFC][Driver] Clean up RenderFloatingPointOptions() (PR #91017)

via cfe-commits cfe-commits at lists.llvm.org
Sat May 4 06:50:17 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 7ec698e6edf5add1f0b49b42fba707bea4b80225 82e51e4cea0cb889842273fcac874bb52d6bd780 -- clang/lib/Driver/ToolChains/Clang.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index 9286076629..76f6b94b3f 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -2800,7 +2800,8 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
   for (const Arg *A : Args) {
     switch (A->getOption().getID()) {
     // If this isn't an FP option skip the claim below
-    default: continue;
+    default:
+      continue;
 
     case options::OPT_fcx_limited_range:
       if (GccRangeComplexOption.empty()) {

``````````

</details>


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


More information about the cfe-commits mailing list