[all-commits] [llvm/llvm-project] 397f2e: Remove llvm::Optional

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue May 30 15:33:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 397f2e9ebee8d8e45547e90dd05228d7f965df67
      https://github.com/llvm/llvm-project/commit/397f2e9ebee8d8e45547e90dd05228d7f965df67
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    R llvm/include/llvm/ADT/None.h
    R llvm/include/llvm/ADT/Optional.h
    M mlir/include/mlir/Support/LLVM.h

  Log Message:
  -----------
  Remove llvm::Optional

This is part of an effort to migrate from llvm::Optional to std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716

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




More information about the All-commits mailing list