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
..
2019-09-26 09:47:32 +00:00
2016-10-29 00:29:15 +00:00
2016-02-18 17:01:40 +00:00
2019-09-11 13:57:41 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-04-26 22:43:16 +00:00
2019-05-23 11:14:47 +00:00
2019-04-26 22:43:16 +00:00
2019-08-14 22:19:23 +00:00
2019-05-03 10:03:28 +00:00
2019-05-23 11:14:47 +00:00
2019-09-13 08:26:00 +00:00
2019-09-26 13:31:59 +00:00
2019-05-23 11:14:47 +00:00
2019-08-06 09:12:42 +00:00
2019-05-23 11:14:47 +00:00
2019-09-11 23:27:12 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-07-05 17:42:08 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-08-06 09:12:42 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-06-12 22:17:38 +00:00
2019-08-05 05:43:48 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-09-26 17:54:59 +00:00
2019-08-14 22:19:23 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-09-04 09:47:18 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-05-23 11:14:47 +00:00
2019-09-04 09:47:18 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-09-26 17:15:18 +00:00
2019-04-10 20:48:55 +00:00
2019-08-14 22:19:23 +00:00