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.
Paths
| Differential D57270
[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 Update SimpleTransformVisitor to traverse past the type sugar.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 14 2019, 4:08 PM Closed by commit rL354164: [ObjC] Fix non-canonical types preventing type arguments substitution. (authored by vsapsai). · Explain WhyFeb 15 2019, 12:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 183664 clang/lib/AST/Type.cpp
clang/test/SemaObjC/parameterized_classes_subst.m
|