commit 3c2d70434bd750683baa94432bfe9fd1f639f968 Author: Duncan P. N. Exon Smith <dexonsmith@apple.com> Date: Mon Apr 13 19:07:27 2015 +0000 DebugInfo: Migrate DISubprogram::describes() to new hierarchy, NFC I don't really like this function at all -- I think it should be as simple as `return getFunction() == F` -- but for now this seems like the best we can do. llvm-svn: 234778
I'm not sure if we still need the name check. Perhaps there are some LTO cases where this is necessary but it's not clear to me what they are.
Nitpick, I think we usually leave the redundant parens off for return statements.