[all-commits] [llvm/llvm-project] 8f072b: [MLIR] Fix warnings in AttrTypeSubElements.h

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Tue Mar 21 05:26:22 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f072bbd74021d1aee913ae500d439a23b591297
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M mlir/include/mlir/IR/AttrTypeSubElements.h

  Log Message:
  [MLIR] Fix warnings in AttrTypeSubElements.h

Fix warnings in AttrTypeSubElements.h (below) with GCC 9.4.0.

mlir/lib/IR/ExtensibleDialect.cpp:443:62:   required from here
mlir/include/mlir/IR/AttrTypeSubElements.h:412:37: warning: parameter ‘derived’ set but not used [-Wunused-but-set-parameter]
  412 | void walkImmediateSubElementsImpl(T derived,
      |                                   ~~^~~

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D146107

More information about the All-commits mailing list