[PATCH] D57076: [ObjC generics] Fix applying `__kindof` to the type parameter.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 23 17:14:44 PST 2019


vsapsai updated this revision to Diff 183215.
vsapsai added a comment.

- Add a test that `__kindof` works with type sugar such as typedef.
- Use early return to reduce nesting. Also it's consistent with the previous early returns.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57076/new/

https://reviews.llvm.org/D57076

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57076.183215.patch
Type: text/x-patch
Size: 23786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190124/55e3716c/attachment-0001.bin>


More information about the cfe-commits mailing list