llvm/lldb
Aleksandr Urakov 84c398d375 [lldb][TypeSystemClang] Desugar an elaborated type before checking if it's a typedef or getting a typedefed type
Summary:
Sometimes a result variable of some expression can be presented as an elaborated
type. In this case the methods `IsTypedefType()` and `GetTypedefedType()` of
`SBType` didn't work. This patch fixes that.

I didn't find the test for these API methods, so I added a basic test for this
too.

Reviewers: aprantl, teemperor, labath, leonid.mashinskiy

Reviewed By: teemperor

Subscribers: labath, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D78697
2020-04-27 11:08:19 +03:00
..
bindings Revert "get rid of PythonInteger::GetInteger()" 2020-04-23 04:38:32 +05:00
cmake Fix setting Python3_ROOT_DIR on Windows 2020-04-14 12:50:54 -05:00
docs [lldb/Docs] Add some more info about the test suite structure 2020-04-16 10:17:59 -07:00
examples [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
include/lldb Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC) 2020-04-24 17:00:34 -07:00
packages/Python Another attempt of D77452 - da0e91fee6 2020-04-15 17:52:36 -07:00
resources
scripts [lldb/Scripts] proc.returncode is set in proc.communicate 2020-04-21 11:30:15 -07:00
source [lldb][TypeSystemClang] Desugar an elaborated type before checking if it's a typedef or getting a typedefed type 2020-04-27 11:08:19 +03:00
test [lldb][TypeSystemClang] Desugar an elaborated type before checking if it's a typedef or getting a typedefed type 2020-04-27 11:08:19 +03:00
third_party/Python/module [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
tools [lldb/Driver] Remove level of indentation (NFC) 2020-04-24 12:50:53 -07:00
unittests Invert an #ifdef in XcodeSDKModuleTests.cpp and actually make the test work. 2020-04-24 18:39:40 -07:00
utils Another attempt of D77452 - da0e91fee6 2020-04-15 17:52:36 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py