commit | 497110d1b0ebcab15eb001d593747f113af047a4 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Mar 30 23:47:26 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Mar 30 23:47:26 2015 +0000 |
tree | d859fdbab0b496c122adaf45bd259e0df7b1fab6 | |
parent | 62e3e389b9e72a0d43f4166ba9b7cc88b58b49f5 [diff] |
DebugLoc: Remove getFromDILexicalBlock() The only user of `DebugLoc::getFromDILexicalBlock()` was creating a new `MDLocation` as convenient API for passing an `MDScope`. Stop doing that, and remove the API. If in the future we actually *want* to create new DebugLocs, calling `MDLexicalBlock::get()` makes more sense. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233643 91177308-0d34-0410-b5e6-96231b3b80d8