diff options
author | Aleksandr Urakov <Aleksandr.Urakov@jetbrains.com> | 2020-04-24 16:09:06 +0300 |
---|---|---|
committer | Aleksandr Urakov <Aleksandr.Urakov@jetbrains.com> | 2020-04-27 11:08:19 +0300 |
commit | 84c398d375d9f3b0c2ce2a755dbaa57500e3f8ec (patch) | |
tree | bb37d0aa9ec76c9df15d6e79d09e857f92eca8dd /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 49d8625aefb8d94afdaf340d6c4363d26b8133ba (diff) | |
download | llvm-84c398d375d9f3b0c2ce2a755dbaa57500e3f8ec.zip llvm-84c398d375d9f3b0c2ce2a755dbaa57500e3f8ec.tar.gz llvm-84c398d375d9f3b0c2ce2a755dbaa57500e3f8ec.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions