llvm-project/lldb
Alex Langford 0e252e38ef [Symbol] Use llvm::Expected when getting TypeSystems
Summary:
This commit achieves the following:
- Functions used to return a `TypeSystem *` return an
  `llvm::Expected<TypeSystem *>` now. This means that the result of a call
  is always checked, forcing clients to move more carefully.
- `TypeSystemMap::GetTypeSystemForLanguage` will either return an Error or a
  non-null pointer to a TypeSystem.

Reviewers: JDevlieghere, davide, compnerd

Subscribers: jdoerfert, lldb-commits

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

llvm-svn: 367360
2019-07-30 22:12:34 +00:00
..
cmake [CMake] Move project() call to main CMake file 2019-07-29 23:09:31 +00:00
docs [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
examples [Symbolication] Remove some dead code. Nothing exciting. 2019-07-29 21:25:51 +00:00
include/lldb [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00
lit [lldb] Increase testsuite packet-timeout 5secs -> 1min 2019-07-29 16:10:16 +00:00
packages/Python/lldbsuite [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
source [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00
test [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00
unittests SymbolVendor: Move Symtab construction into the SymbolFile 2019-07-26 07:03:28 +00:00
utils [lldb] Also include the array definition in Properties.inc 2019-07-29 16:41:30 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Move project() call to main CMake file 2019-07-29 23:09:31 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py