[PATCH] D63943: ObjC: Squeeze in one more bit for the count of protocols in 'id' types

Jordan Rose via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 10:58:08 PDT 2019


jordan_rose created this revision.
jordan_rose added reviewers: jfb, doug.gregor, dexonsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Someone actually had an Objective-C object pointer type with more than 64 protocols, probably collected through typedefs. Raise the ceiling by one order of magnitude...even though this is just kicking the can down the road, and we need a proper diagnostic for this.


Repository:
  rC Clang

https://reviews.llvm.org/D63943

Files:
  include/clang/AST/Type.h
  lib/AST/Type.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63943.207103.patch
Type: text/x-patch
Size: 5550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190628/7057ff3f/attachment.bin>


More information about the cfe-commits mailing list