llvm-project/lldb/scripts
Lawrence D'Anna 2fce1137c7 Convert FileSystem::Open() to return Expected<FileUP>
Summary:
This patch converts FileSystem::Open from this prototype:

Status
Open(File &File, const FileSpec &file_spec, ...);

to this one:

llvm::Expected<std::unique_ptr<File>>
Open(const FileSpec &file_spec, ...);

This is beneficial on its own, as llvm::Expected is a more modern
and recommended error type than Status.  It is also a necessary step
towards https://reviews.llvm.org/D67891, and further developments
for lldb_private::File.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D67996

llvm-svn: 373003
2019-09-26 17:54:59 +00:00
..
Python Convert FileSystem::Open() to return Expected<FileUP> 2019-09-26 17:54:59 +00:00
interface Revert "[swig] Add workaround for old swig" 2019-07-16 15:54:33 +00:00
swig_bot_lib Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
CMakeLists.txt [lldb] Excludes private headers from SWIG dependency. 2019-09-25 18:17:45 +00:00
analyze-project-deps.py Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
buildbot.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
disasm-gdb-remote.pl
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh Update framework-header-fix to force system sed 2018-11-04 15:55:28 +00:00
get_relative_lib_dir.py [lldb] [cmake] Fix installing Python modules on systems using /usr/lib 2019-09-25 09:47:35 +00:00
install_custom_python.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
lldb.swig Fix command-script-import.test on linux 2019-09-18 12:58:52 +00:00
macos-setup-codesign.sh Add a script to setup codesigning on macOS. 2018-06-14 18:04:13 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py use_lldb_suite.py: Fix potential infinite loop 2019-02-07 14:03:43 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py The Python 3 part of the script was missed when adding OpenBSD support. 2018-10-04 20:34:58 +00:00
verify_api.py python 2/3 compat: commands vs subprocess 2019-03-26 14:46:15 +00:00