[llvm] [mlir] eliminating g++ warnings (PR #105520)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 07:35:39 PDT 2024


================
@@ -1629,7 +1629,7 @@ verifyTrait(Operation *) {
 
 /// Given a set of traits, return the result of verifying the given operation.
 template <typename... Ts>
-LogicalResult verifyTraits(Operation *op) {
+LogicalResult verifyTraits([[maybe_unused]] Operation *op) {
----------------
kuhar wrote:

Do we need this one?

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


More information about the llvm-commits mailing list