Change PathMappingList::RemapPath to return an optional result (NFC)
authorAdrian Prantl <aprantl@apple.com>
Fri, 25 Jun 2021 20:49:01 +0000 (13:49 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 25 Jun 2021 21:15:29 +0000 (14:15 -0700)
commit4cf7c6c6a44dba6d7f3c13059f966412df89fe75
tree6e7efdba7a4289ff7aed3e10b5edae907b63ce40
parent160559344026824ee0b510741c7906c0e165f9a7
Change PathMappingList::RemapPath to return an optional result (NFC)

This is an NFC modernization refactoring that replaces the combination
of a bool return + reference argument, with an Optional return value.

Differential Revision: https://reviews.llvm.org/D104404
lldb/include/lldb/Target/PathMappingList.h
lldb/source/Core/Module.cpp
lldb/source/Target/PathMappingList.cpp