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

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 27 08:45:58 PDT 2016


NoQ added a comment.

> 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 "`]`"?

> Does this approach work for C++ when there are multiple overloads of methods with the same name?


Nope, unfortunately not. I'm open to suggestions on how to make this work. We may either dump types of arguments, or do something like "`foo~1`", "`foo~2`", etc.


https://reviews.llvm.org/D22856





More information about the cfe-commits mailing list