diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2019-05-21 17:38:56 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2019-05-21 17:38:56 +0000 |
commit | b7a19321442a5c78ea463fe9a9c671d2522788ee (patch) | |
tree | 370d6d074436bd2273665dcd60c2b9f1f5a88864 /clang/lib/Frontend/InitHeaderSearch.cpp | |
parent | b43dfaa6c0ff5661cde472c54e711c4afebe8b27 (diff) | |
download | bcm5719-llvm-b7a19321442a5c78ea463fe9a9c671d2522788ee.tar.gz bcm5719-llvm-b7a19321442a5c78ea463fe9a9c671d2522788ee.zip |
Remove `SymbolFileDWARF *` when there is already `DWARFUnit *`
In D61502#1503247 @clayborg suggested that SymbolFileDWARF *dwarf2Data is
really redundant in all the calls with also having DWARFUnit *cu. So remove it.
One `SymbolFileDWARF *` nullptr check
(DWARFDebugInfoEntry::GetDIENamesAndRanges) could be removed, other two nullptr
checks (DWARFDebugInfoEntry::GetName and DWARFDebugInfoEntry::AppendTypeName)
need to stay in place (now for `DWARFUnit *`).
Differential Revision: https://reviews.llvm.org/D62011
llvm-svn: 361277
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions