[all-commits] [llvm/llvm-project] 96d1b4: [lld] Don't use Optional::hasValue (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sun Jun 26 19:29:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96d1b4ddb2cc37b900692215f7598ff5970b0baa
https://github.com/llvm/llvm-project/commit/96d1b4ddb2cc37b900692215f7598ff5970b0baa
Author: Kazu Hirata <kazu at google.com>
Date: 2022-06-26 (Sun, 26 Jun 2022)
Changed paths:
M lldb/include/lldb/Target/MemoryRegionInfo.h
M lldb/source/API/SBMemoryRegionInfo.cpp
M lldb/source/Breakpoint/BreakpointIDList.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Core/DataFileCache.cpp
M lldb/source/Core/DumpDataExtractor.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
M lldb/source/Target/UnixSignals.cpp
M lldb/source/Utility/SelectHelper.cpp
M lldb/unittests/tools/lldb-server/tests/TestClient.cpp
Log Message:
-----------
[lld] Don't use Optional::hasValue (NFC)
This patch replaces x.hasValue() with x where x is contextually
convertible to bool.
More information about the All-commits
mailing list