diff options
| author | Ariel Burton <Ariel.Burton@ibm.com> | 2022-08-09 11:06:51 -0400 |
|---|---|---|
| committer | Muiez Ahmed <muiez@ibm.com> | 2022-08-09 11:08:52 -0400 |
| commit | f53f2f232f794a257c270f4c273b9c9000421c81 (patch) | |
| tree | 0f2de9e186ec81bad71051cd9925cc8f589c78fe /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 37a0022aaa5a2ab15d7933e1c84e30b53a895bca (diff) | |
| download | llvm-f53f2f232f794a257c270f4c273b9c9000421c81.zip llvm-f53f2f232f794a257c270f4c273b9c9000421c81.tar.gz llvm-f53f2f232f794a257c270f4c273b9c9000421c81.tar.bz2 | |
Extend ptr32 support to be applied on typedef
Earlier, if the QualType was sugared, then we would error out
as it was not a pointer type, for example,
typedef int *int_star;
int_star __ptr32 p;
Now, if ptr32 is given we apply it if the raw Canonical Type
(i.e., the desugared type) is a PointerType, instead of only
checking whether the sugared type is a pointer type.
As before, we still disallow ptr32 usage if the pointer is used
as a pointer to a member.
Differential Revision: https://reviews.llvm.org/D130123
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
