[all-commits] [llvm/llvm-project] 9cd241: [MLIR][EmitC][NFC] Use `llvm::function_ref<>` inst...

Yanzuo Liu via All-commits all-commits at lists.llvm.org
Thu Jul 24 17:59:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cd2413601f809fdb6c011743eb37b1321d5ab17
      https://github.com/llvm/llvm-project/commit/9cd2413601f809fdb6c011743eb37b1321d5ab17
  Author: Yanzuo Liu <zwuis at outlook.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp

  Log Message:
  -----------
  [MLIR][EmitC][NFC] Use `llvm::function_ref<>` instead of `std::optional<llvm::function_ref<>>` (#146478)

There is no need to distinguish between null `optional` and null
`function_ref` in this case.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list