File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -943,15 +943,15 @@ void SymbolCollector::finish() {
943
943
// FIXME: Get rid of this once include-cleaner has support for system
944
944
// headers.
945
945
if (auto Canonical =
946
- HeaderFileURIs->mapCanonical (H.physical ()-> getName ());
946
+ HeaderFileURIs->mapCanonical (H.physical (). getName ());
947
947
!Canonical.empty ())
948
948
SpellingIt->second = Canonical;
949
949
// For physical files, prefer URIs as spellings might change
950
950
// depending on the translation unit.
951
951
else if (tooling::isSelfContainedHeader (H.physical (), SM,
952
952
PP->getHeaderSearchInfo ()))
953
953
SpellingIt->second =
954
- HeaderFileURIs->toURI (H.physical ()-> getLastRef () );
954
+ HeaderFileURIs->toURI (H.physical ());
955
955
} else {
956
956
SpellingIt->second = include_cleaner::spellHeader (
957
957
{H, PP->getHeaderSearchInfo (),
You can’t perform that action at this time.
0 commit comments