This is an archive of the discontinued LLVM Phabricator instance.

[clangd][unittests][IncludeCleaner] Don't call findReferencedFiles() if the result is not used
ClosedPublic

Authored by ArcsinX on Aug 11 2022, 11:24 AM.

Details

Summary

IncludeCleaner.RecursiveInclusion and IncludeCleaner.IWYUPragmaExport tests don't check referenced files list, so we don't need to call findReferencedFiles() there.

Diff Detail

Event Timeline

ArcsinX created this revision.Aug 11 2022, 11:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 11:24 AM
ArcsinX requested review of this revision.Aug 11 2022, 11:24 AM
kbobyrev accepted this revision.Aug 11 2022, 11:27 AM
This revision is now accepted and ready to land.Aug 11 2022, 11:27 AM