| commit | 2c6a0a905c89e6e2d3a1335ac54d937c32cc53c1 | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 28 21:47:02 2015 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 28 21:47:02 2015 +0000 |
| tree | e1b1bb05bd9c2bf1eeab6bca09788026219487b9 | |
| parent | a951165e5a28718f129597602981a712fac32264 [diff] |
IR: Specialize MDScope::getFile() for MDFile Fix `MDScope::getFile()` so that it correctly returns a valid `MDFile` even when it's an instance of `MDFile`. This logic is necessary because of r230057. I'm working on moving the new hierarchy into place out-of-tree (on track to commit Monday morning, BTW), and this was exposed by a few failing tests. llvm-svn: 230871