diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-06-18 21:26:33 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-06-18 21:26:33 +0000 |
commit | dd7106375c2c7de682bf2997d2ef7bb55113219f (patch) | |
tree | 6f0e0d1fceb071c8d76abf57a693734f45be2d5c /lldb/scripts/Python | |
parent | a721731fdd0ab07d66e1f143181c6d8de66b3188 (diff) | |
download | bcm5719-llvm-dd7106375c2c7de682bf2997d2ef7bb55113219f.tar.gz bcm5719-llvm-dd7106375c2c7de682bf2997d2ef7bb55113219f.zip |
When declaring an ObjC interface decl with a @compatibility_alias alias name, change the class name to the "real" one.
If we have something like
@class NewImage;
@compatibility_alias OldImage NewImage;
@class OldImage;
the lookup for 'OldImage' will return the 'NewImage' decl ("@class NewImage").
In such a case, when creating the decl for "@class OldImage" use the real declaration name ("NewImage"),
instead of the alias one ("OldImage"), otherwise we will break IdentifierResolver and redecls-chain invariants.
Fixes crash of rdar://14112291.
llvm-svn: 184238
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions