commit | 6357bce41b97cba9ab7035722c40676c9b970627 | [log] [tgz] |
---|---|---|
author | Peter Szecsi <szepet95@gmail.com> | Wed Apr 25 17:28:03 2018 |
committer | Peter Szecsi <szepet95@gmail.com> | Wed Apr 25 17:28:03 2018 |
tree | 52f4aaed022324adebbdfbc12651e3c88fd1518d | |
parent | 6f1ff62842e71ebc6e1dc585eb1250f249628ab1 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330847 91177308-0d34-0410-b5e6-96231b3b80d8