summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2019-05-29 21:23:30 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2019-05-29 21:23:30 +0000
commitf3c89b1a6be08ad90b30306554e6724467debf16 (patch)
tree89528345c0bfc6a91ba77cfb3c975d39cbda5cad /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
parent46631dffc4b665bc2b8f473ab54c1b40cf87df76 (diff)
downloadbcm5719-llvm-f3c89b1a6be08ad90b30306554e6724467debf16.tar.gz
bcm5719-llvm-f3c89b1a6be08ad90b30306554e6724467debf16.zip
[ObjC] Fix encoding of ObjC pointer types that are pointers to typedefs
clang was encoding pointers to typedefs as if they were pointers to structs because that is apparently what gcc is doing. For example: ``` @class Class1; typedef NSArray<Class1 *> MyArray; void foo1(void) { const char *s0 = @encode(MyArray *); // "^{NSArray=#}" const char *s1 = @encode(NSArray<Class1 *> *); // "@" } ``` This commit removes the code that was there to make clang compatible with gcc and make clang emit the correct encoding for ObjC pointers, which is "@". rdar://problem/50563529 Differential Revision: https://reviews.llvm.org/D61974 llvm-svn: 362034
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud