[cfe-commits] Clang change to detect and warn about unused private members

Jordan Rose jediknil at belkadan.com
Wed May 9 17:41:35 PDT 2012


On May 9, 2012, at 19:24, Daniel Jasper wrote:

>> - IsRecordFullyDefined should probably use SmallPtrSetImpl, to avoid specifying a size in the function prototype. (Not that it /really/ matters, but...)
>> 
> But all the methods in SmallPtrSetImpl are protected!? 

Oops, sorry. I didn't actually check the docs; I just assumed it was like SmallVector and SmallVectorImpl. I suppose a typedef, then, is the next best thing, to avoid having to specify the count in two different places.



More information about the cfe-commits mailing list