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 | 9940a5df86d36ecc69ee3a82e1a4fbfe841960ab (patch) | |
tree | 28cb501a3e5001acc599c016ca169a48bb40f976 /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | |
parent | 069b90463d933b7d5756402178d11de3f6223d1a (diff) | |
download | bcm5719-llvm-9940a5df86d36ecc69ee3a82e1a4fbfe841960ab.tar.gz bcm5719-llvm-9940a5df86d36ecc69ee3a82e1a4fbfe841960ab.zip |
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
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
0 files changed, 0 insertions, 0 deletions