[all-commits] [llvm/llvm-project] 803cec: [mlir] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 26 12:27:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 803cec0268000569051733e0d03b4c51d48ce5a6
      https://github.com/llvm/llvm-project/commit/803cec0268000569051733e0d03b4c51d48ce5a6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  Changed paths:
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  [mlir] Fix a warning

This patch fixes:

  mlir/lib/IR/MLIRContext.cpp:1020:3: error: use of the 'nodiscard'
  attribute is a C++17 extension [-Werror,-Wc++17-extensions]




More information about the All-commits mailing list