This is an archive of the discontinued LLVM Phabricator instance.

[ASTImporter] Add unittest case for friend decl import
ClosedPublic

Authored by vabridgers on Jul 1 2020, 3:45 PM.

Details

Summary

This change adds a matching test case for the recent bug fix to
VisitFriendDecl in ASTImporterLookup.cpp.

See https://reviews.llvm.org/D82882 for details.

Diff Detail

Event Timeline

vabridgers created this revision.Jul 1 2020, 3:45 PM
Herald added a reviewer: shafik. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
vabridgers updated this revision to Diff 274945.Jul 1 2020, 3:50 PM

Updated commit header.

vabridgers updated this revision to Diff 274961.Jul 1 2020, 5:02 PM

update for pre-merge lint checks

I confirmed that a crash was seen when the change for https://reviews.llvm.org/D82882 was reverted, then the unittests pass with the change associated with https://reviews.llvm.org/D82882.

martong accepted this revision.Jul 2 2020, 6:03 AM

Thanks, looks good!

This revision is now accepted and ready to land.Jul 2 2020, 6:03 AM
This revision was automatically updated to reflect the committed changes.