[all-commits] [llvm/llvm-project] ee77b7: [IR] Use std::nullopt instead of None (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 4 15:05:37 PST 2022


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

  Changed paths:
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [IR] 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