[all-commits] [llvm/llvm-project] 12ba76: Eliminate gcc7 compiler warnings

long.chen via All-commits all-commits at lists.llvm.org
Mon Mar 28 19:55:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12ba76c6d161e3217bc7bce58ab2f4a0e58e1395
      https://github.com/llvm/llvm-project/commit/12ba76c6d161e3217bc7bce58ab2f4a0e58e1395
  Author: long.chen <lipracer at gmail.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

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

  Log Message:
  -----------
  Eliminate gcc7 compiler warnings

we will get warning:```parameter ‘op’ set but not used``` when template function with empty template parameter list.

Reviewed By: jpienaar

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




More information about the All-commits mailing list