llvm-project/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 [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
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 [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [lldb/CMake] Only CMAKE_CFG_INTDIR if it's not '.' 2020-03-27 17:49:00 -07: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