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

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Dec 5 23:50:19 PST 2022


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

  Changed paths:
    M llvm/lib/DebugInfo/PDB/DIA/DIADataStream.cpp
    M llvm/lib/LineEditor/LineEditor.cpp
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Support/Windows/Threading.inc
    M llvm/lib/Support/Z3Solver.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/M68k/M68kMCInstLower.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp

  Log Message:
  -----------
  [llvm] Use std::nullopt instead of llvm::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