[all-commits] [llvm/llvm-project] 70fe44: [libc] Use std::nullopt instead of None (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Dec 9 19:14:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70fe44ca777f179e3de9aa42afc14cd5f86abd34
      https://github.com/llvm/llvm-project/commit/70fe44ca777f179e3de9aa42afc14cd5f86abd34
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M libc/benchmarks/automemcpy/include/automemcpy/RandomFunctionGenerator.h
    M libc/benchmarks/automemcpy/lib/CodeGen.cpp
    M libc/benchmarks/automemcpy/lib/RandomFunctionGenerator.cpp
    M libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp
    M libc/test/utils/tools/WrapperGen/wrappergen_test.cpp
    M libc/utils/LibcTableGenUtil/APIIndexer.h

  Log Message:
  -----------
  [libc] Use std::nullopt instead of None (NFC)

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




More information about the All-commits mailing list