[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Unwrap the type when dereferencing the valueThe value type can be a typedef of a reference (e.g. `typedef int& myint`).In this case `GetQualType(type)` will return `clang::Typedef`, which c
[lldb] Unwrap the type when dereferencing the valueThe value type can be a typedef of a reference (e.g. `typedef int& myint`).In this case `GetQualType(type)` will return `clang::Typedef`, which cannotbe casted to `clang::ReferenceType`.Fix a regression introduced in https://reviews.llvm.org/D103532.Reviewed By: teemperorDifferential Revision: https://reviews.llvm.org/D113673
[lldb] Preserve type sugar when using SBValue::Dereference on C++ referencesWhen checking for type properties we usually want to strip all kind of typesugar from the type. For example, sugar like
[lldb] Preserve type sugar when using SBValue::Dereference on C++ referencesWhen checking for type properties we usually want to strip all kind of typesugar from the type. For example, sugar like Clang's ElaboratedType or typedefsrarely 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 doesmatter 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 dereferencea type.Reviewed By: werat, shafikDifferential Revision: https://reviews.llvm.org/D103532