[PATCH] D50516: [ASTImporter] Improved import of friend templates.

2018-08-13 Thread Balázs Kéri via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL339560: [ASTImporter] Improved import of friend templates. (authored by balazske, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D50516 Files:

[PATCH] D50516: [ASTImporter] Improved import of friend templates.

2018-08-13 Thread Balázs Kéri via Phabricator via cfe-commits
balazske updated this revision to Diff 160335. balazske added a comment. - replaced ASSERT in test Repository: rC Clang https://reviews.llvm.org/D50516 Files: lib/AST/ASTImporter.cpp unittests/AST/ASTImporterTest.cpp Index: unittests/AST/ASTImporterTest.cpp =

[PATCH] D50516: [ASTImporter] Improved import of friend templates.

2018-08-11 Thread Aleksei Sidorin via Phabricator via cfe-commits
a_sidorin accepted this revision. a_sidorin added inline comments. This revision is now accepted and ready to land. Comment at: unittests/AST/ASTImporterTest.cpp:2721 + EXPECT_EQ(ToFriendClass->getDefinition(), ToClass); + ASSERT_EQ(ToFriendClass->getPreviousDecl(), ToClass); +

[PATCH] D50516: [ASTImporter] Improved import of friend templates.

2018-08-09 Thread Balázs Kéri via Phabricator via cfe-commits
balazske created this revision. Herald added subscribers: cfe-commits, martong. Herald added a reviewer: a.sidorin. When importing a friend class template declaration, this declaration should not be merged with any other existing declaration for the same type. Otherwise the getFriendDecl of the Fr