This is an archive of the discontinued LLVM Phabricator instance.

[ObjC] Fix non-canonical types preventing type arguments substitution.
ClosedPublic

Authored by vsapsai on Jan 25 2019, 5:09 PM.

Details

Summary

QualType::substObjCTypeArgs doesn't go past non-canonical types and as
the result misses some of the substitutions like ObjCTypeParamType.

Update SimpleTransformVisitor to traverse past the type sugar.

Event Timeline

vsapsai created this revision.Jan 25 2019, 5:09 PM
This revision is now accepted and ready to land.Feb 14 2019, 4:08 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2019, 12:17 PM