[all-commits] [llvm/llvm-project] b0d575: [mlir][Linalg] Fix ignoring nodiscard return value

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Jan 20 04:51:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0d575310f2ee660dadfdaf1e06bac148a575754
      https://github.com/llvm/llvm-project/commit/b0d575310f2ee660dadfdaf1e06bac148a575754
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

  Log Message:
  -----------
  [mlir][Linalg] Fix ignoring nodiscard return value

ff94419a287c changed the return value of appendMangledType() to
LogicalResult, which is marked as nodiscard. Ignoring the result
generates a warning when building with clang.

Reviewed By: nicolasvasilache, chelini

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




More information about the All-commits mailing list