aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-06 22:07:46 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-06 22:07:46 +0000
commit6d0b3704b3fb627971e8c88291b382892082fead (patch)
treec9cfe0842a94c3214ba934b10e4c4ecaaf7ce3e8 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
parentee55fac1d44d5ad114cab57b174e16d5eadb43ba (diff)
downloadllvm-6d0b3704b3fb627971e8c88291b382892082fead.zip
llvm-6d0b3704b3fb627971e8c88291b382892082fead.tar.gz
llvm-6d0b3704b3fb627971e8c88291b382892082fead.tar.bz2
DebugInfo: Drop confusing forwarding API from DILexicalBlockFile
Remove `DILexicalBlockFile::getScope()` (whose last use was removed from clang in r234245), which illegally returned a `DILexicalBlock` despite its scope sometimes being an `MDSubprogram`. Also remove the `getLineNumber()` and `getColumnNumber()` methods that just forwarded to `DILexicalBlock`'s versions, since there don't seem to be any callers. Note that the block of code removed from `DebugInfo.cpp` was actually dead code, since `isLexicalBlock()` (the previous branch) always returns true when `isLexicalBlockFile()` returns true. An earlier (broken and untested) version of this was squashed into r234222 and reverted in r234225. llvm-svn: 234246
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions