[Mlir-commits] [mlir] [mlir][QuasiPolynomial] Fixed unused variable error (PR #76417)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Dec 26 15:58:07 PST 2023


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 14e221aa68c17599c830f458b9727a84bb1df6a9 9e15e1a62233295c5e70cea06681b02502a2db9a -- mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp b/mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
index d26959b799..a6980ece7d 100644
--- a/mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
+++ b/mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
@@ -30,7 +30,7 @@ QuasiPolynomial::QuasiPolynomial(
       assert(aff.size() == getNumInputs() + 1 &&
              "dimensionality of affine functions does not match number of "
              "symbols!");
-      (void) aff;
+      (void)aff;
     }
   }
 }

``````````

</details>


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


More information about the Mlir-commits mailing list