[PATCH] D76264: [ObjC generics] Fix missing protocols on type parameter for unparameterized generics.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 20:12:40 PDT 2020


vsapsai created this revision.
vsapsai added reviewers: erik.pilkington, ahatanak.
Herald added subscribers: ributzka, jfb, dexonsmith, jkorous.
Herald added a project: clang.

When a type parameter is used with some protocols, we should keep these
protocols both when the generic type is parameterized and not
parameterized.

rdar://problem/58773533


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76264

Files:
  clang/lib/AST/Type.cpp
  clang/test/SemaObjC/parameterized_classes_subst.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76264.250677.patch
Type: text/x-patch
Size: 5137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200317/f0c9c2ad/attachment.bin>


More information about the cfe-commits mailing list