[all-commits] [llvm/llvm-project] 7f37a7: [MLIR] Hide FailureOr::hasValue()

Christian Sigg via All-commits all-commits at lists.llvm.org
Mon Nov 21 09:35:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f37a779e9f8e2961175c2169f52dee5d48cc88d
      https://github.com/llvm/llvm-project/commit/7f37a779e9f8e2961175c2169f52dee5d48cc88d
  Author: Christian Sigg <csigg at google.com>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Support/LogicalResult.h

  Log Message:
  -----------
  [MLIR] Hide FailureOr::hasValue()

`Optional<T>::hasValue()` is deprecated and should be private like `has_value()`.

Reviewed By: tpopp, bondhugula

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




More information about the All-commits mailing list