[PATCH] D22856: [analyzer] Change -analyze-function to accept qualified names.

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 27 15:22:01 PDT 2016


dcoughlin added a comment.

In https://reviews.llvm.org/D22856#497796, @NoQ wrote:

> > I think it would be better for fully-qualified Objective-C methods to be specified with their Objective-C-style names. For example: "-[Test1 myMethodWithY:withX:]".
>
>
> Uhm, need to know more about those. So i just print "`-[`", then fully-qualified class name, then selector identifier, then "`]`"?


Instance methods get "-" and class methods (which are similar to static methods in Java) get the "+" prefix. See CGDebugInfo::getObjCMethodName() in CGDebugInfo.cpp for the gory details.


https://reviews.llvm.org/D22856





More information about the cfe-commits mailing list