diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-16 16:21:04 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-16 16:21:04 +0000 |
| commit | a32966fd8474e7a7002f65d32ace6b7e18dee66b (patch) | |
| tree | a00abac0689a5b7545845280b7ec6187422d725a /lib/CodeGen/CodeGenModule.h | |
| parent | a48c4a87034a9478b73c25dada9921d1aa16d318 (diff) | |
| download | clang-a32966fd8474e7a7002f65d32ace6b7e18dee66b.tar.gz clang-a32966fd8474e7a7002f65d32ace6b7e18dee66b.tar.bz2 clang-a32966fd8474e7a7002f65d32ace6b7e18dee66b.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
