[all-commits] [llvm/llvm-project] a34637: Change PathMappingList::FindFile to return an opti...

adrian-prantl via All-commits all-commits at lists.llvm.org
Tue Jun 29 15:11:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a346372200e7b2b99631bd90691678d5ca03fdd1
      https://github.com/llvm/llvm-project/commit/a346372200e7b2b99631bd90691678d5ca03fdd1
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M lldb/include/lldb/Target/PathMappingList.h
    M lldb/source/Core/Module.cpp
    M lldb/source/Core/SourceManager.cpp
    M lldb/source/Symbol/LineEntry.cpp
    M lldb/source/Target/PathMappingList.cpp

  Log Message:
  -----------
  Change PathMappingList::FindFile 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/D104405




More information about the All-commits mailing list