This is an archive of the discontinued LLVM Phabricator instance.

[lldb][ClangASTImporter][NFC] Remove redundant calls to ASTImporter::Imported
ClosedPublic

Authored by Michael137 on Aug 17 2023, 4:17 AM.

Details

Summary

The ASTImporter::Imported base method has been made a no-op in
26f72a96559f2acd6799c363f1ca88ef3238c601. So all calls to it from
a base-class are now redundant. The API is now only used to notify
subclasses that an import occurred and not for any other
bookkeeping (which is done in MapImported which we call properly)

Diff Detail

Event Timeline

Michael137 created this revision.Aug 17 2023, 4:17 AM
Herald added a reviewer: shafik. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: martong. · View Herald Transcript
Michael137 requested review of this revision.Aug 17 2023, 4:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 4:17 AM
Michael137 edited the summary of this revision. (Show Details)Aug 17 2023, 4:18 AM
  • Reword commit message
aprantl accepted this revision.Aug 17 2023, 9:53 AM
This revision is now accepted and ready to land.Aug 17 2023, 9:53 AM