Sema: Simplify the check if a method returns an instance of the class.
Just checking if the parent of the method is the same as the return type should be sufficient. Also fixes PR17587. llvm-svn: 192802
Loading
Please register or sign in to comment