[all-commits] [llvm/llvm-project] 8b5c30: [lldb] Use std::optional instead of None in commen...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 17:06:56 PST 2022


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

  Changed paths:
    M lldb/include/lldb/Target/TraceCursor.h
    M lldb/include/lldb/Target/UnixSignals.h
    M lldb/include/lldb/Utility/Predicate.h
    M lldb/include/lldb/Utility/TraceGDBRemotePackets.h
    M lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
    M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
    M lldb/source/Plugins/Process/Linux/IntelPTProcessTrace.h
    M lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.h
    M lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.h
    M lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
    M lldb/source/Plugins/Trace/intel-pt/TraceIntelPTMultiCpuDecoder.h
    M lldb/source/Plugins/TraceExporter/common/TraceHTR.h
    M lldb/source/Target/TraceDumper.cpp

  Log Message:
  -----------
  [lldb] Use std::optional instead of None in comments (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