llvm-project/lldb/include/lldb
Adrian Prantl 113f56fbb8 Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish)
This cleanup patch unifies all methods called GetByteSize() in the
ValueObject hierarchy to return an optional, like the methods in
CompilerType do. This means fewer magic 0 values, which could fix bugs
down the road in languages where types can have a size of zero, such
as Swift and C (but not C++).

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

This re-lands the patch with bogus :m_byte_size(0) initalizations removed.
2020-07-27 13:26:35 -07:00
..
API [lldb] Use weak_ptr to hold on to the underlying thread plan in SBThreadPlan 2020-07-20 16:55:17 -07:00
Breakpoint [lldb] NFC remove DISALLOW_COPY_AND_ASSIGN 2020-06-02 13:23:53 -04:00
Core Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
DataFormatters [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
Expression Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
Host [lldb/ObjectFileMachO] Fetch shared cache images from our own shared cache 2020-07-16 10:37:37 -07:00
Initialization [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Interpreter [lldb][NFC] Use a StringRef for AddRegexCommand::AddRegexCommand parameters 2020-07-27 14:36:47 +02:00
Symbol Thread ExecutionContextScope through GetByteSize where possible (NFC-ish) 2020-07-22 08:56:29 -07:00
Target Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
Utility [lldb] Fix e89414f406 for msvc 2020-07-27 11:49:46 +02:00
lldb-defines.h Add an option (-y) to "break set" and "source list" that uses the same 2020-07-20 17:40:36 -07:00
lldb-enumerations.h Add an option (-y) to "break set" and "source list" that uses the same 2020-07-20 17:40:36 -07:00
lldb-forward.h [lldb] Use weak_ptr to hold on to the underlying thread plan in SBThreadPlan 2020-07-20 16:55:17 -07:00
lldb-private-defines.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-private-enumerations.h [lldb][NFC] Remove FormatterChoiceCriterion 2020-04-15 09:47:15 +02:00
lldb-private-forward.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-private-interfaces.h [lldb] Move ArchitectureCreateInstance into ldb-private-interfaces 2020-02-18 20:19:54 -08:00
lldb-private-types.h [lldb][NFC] Documention that OptionDefinition::completion_type contains enum values 2020-02-18 10:33:38 +01:00
lldb-private.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-public.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-types.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-versioning.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
module.modulemap [lldb/Host] Remove TaskPool and replace its uses with llvm::ThreadPool 2020-04-22 09:17:49 -07:00