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 FriendDecl can point
to an other already referenced declaration, this case causes problems.
Additionally the previous decl of class templates is set at import.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
unittests/AST/ASTImporterTest.cpp | ||
---|---|---|
2721 ↗ | (On Diff #159935) | Should we use EXPECT_EQ for "To" checks? |