llvm-project/lldb/test/API/lang
Raphael Isemann 0ec761c3fc [lldb] Preserve type sugar when using SBValue::Dereference on C++ references
When checking for type properties we usually want to strip all kind of type
sugar from the type. For example, sugar like Clang's ElaboratedType or typedefs
rarely influence the fundamental behaviour of a type such as its byte size.

However we always need to preserve type sugar for everything else as it does
matter for users that their variable of type `size_t` instead of `unsigned long`
for example.

This patch fixes one such bug when trying to use the SBValue API to dereference
a type.

Reviewed By: werat, shafik

Differential Revision: https://reviews.llvm.org/D103532
2021-06-02 19:23:11 +02:00
..
c [lldb] Fix typos. NFC. 2021-05-31 06:48:57 +07:00
cpp [lldb] Preserve type sugar when using SBValue::Dereference on C++ references 2021-06-02 19:23:11 +02:00
mixed
objc [lldb] Disable TestClangModulesUpdate.py because it's flaky 2021-04-13 20:37:17 -07:00
objcxx [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC) 2021-04-04 20:04:41 -07:00