HomePhabricator

[ASTImporter] FriendDecl importing improvements

Description

[ASTImporter] FriendDecl importing improvements

There are only a few cases of importing a frienddecl which is currently supported.
This patch aims to improve the friend import process.
Set FriendObjectKind in case of decls, insert friend into the friend chain
correctly, checks structurally equivalent in a more advanced manner.
Test cases added as well.

Details

Committed
szepetApr 25 2018, 10:28 AM
Branches
Unknown
Tags
Unknown