[all-commits] [llvm/llvm-project] 90559e: [ADT] Deperecate llvm::None

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 15:50:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90559ed6e650e1a7b8e8d13c84388b2debcbb4b9
      https://github.com/llvm/llvm-project/commit/90559ed6e650e1a7b8e8d13c84388b2debcbb4b9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M llvm/include/llvm/ADT/None.h

  Log Message:
  -----------
  [ADT] Deperecate llvm::None

I've converted all known uses of None to std::nullopt.

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/D139763




More information about the All-commits mailing list