[all-commits] [llvm/llvm-project] f43886: [lldb] llvm::Optional::value() && => operator*/ope...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 17 12:37:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f43886e7ba5abf9ee8c4d3f0ffbd18eee724466f
      https://github.com/llvm/llvm-project/commit/f43886e7ba5abf9ee8c4d3f0ffbd18eee724466f
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectFrame.cpp
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/tools/lldb-test/lldb-test.cpp
    M lldb/unittests/Host/ConnectionFileDescriptorTest.cpp
    M lldb/unittests/Utility/StringExtractorGDBRemoteTest.cpp

  Log Message:
  -----------
  [lldb] llvm::Optional::value() && => operator*/operator->

std::optional::value() has undesired exception checking semantics and is
unavailable in older Xcode (see _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS). The
call sites block std::optional migration.




More information about the All-commits mailing list