<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hey esteemed colleagues,</div><div dir="ltr"><br></div><div dir="ltr">We recently noticed that we were generating some incredibly large Objective C runtime encodings in some of our apps that are using Objective C++ and passing C++ types in Objective C methods, or have C++ types as instance variables. Templates are especially notorious for generating huge amounts of Objective C runtime information. I did a write up on it here:</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://medium.com/@dmaclach/objective-c-encoding-and-you-866624cc02de">https://medium.com/@dmaclach/objective-c-encoding-and-you-866624cc02de</a></div><div dir="ltr"><br></div><div dir="ltr">but am looking for a better solution than my hacky "smart pointers". As a first step I wanted to have a warning I could control to understand where my problem spots are.<br><div><br></div><div>I would appreciate any thoughts on </div><div><br></div><div><a href="https://reviews.llvm.org/D55544">https://reviews.llvm.org/D55544</a></div><div><br></div><div>It is my first real foray into clang coding, so I expect my implementation is naïve.</div><div><br></div><div>Tracking bug:</div><div><br></div><div><a href="https://bugs.llvm.org/show_bug.cgi?id=38346">https://bugs.llvm.org/show_bug.cgi?id=38346</a><br></div><div><br></div><div>Cheers,</div><div>Dave</div></div></div></div></div>