commit | a32966fd8474e7a7002f65d32ace6b7e18dee66b | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Oct 16 16:21:04 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Oct 16 16:21:04 2013 +0000 |
tree | a00abac0689a5b7545845280b7ec6187422d725a | |
parent | a48c4a87034a9478b73c25dada9921d1aa16d318 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192802 91177308-0d34-0410-b5e6-96231b3b80d8