[PATCH] D75740: [ASTImporter] Corrected import of repeated friend declarations.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 06:37:04 PST 2020
balazske created this revision.
Herald added subscribers: cfe-commits, martong, teemperor, gamesh411, Szelethus, dkrupp.
Herald added a reviewer: a.sidorin.
Herald added a reviewer: shafik.
Herald added a project: clang.
Import declarations in correct order if a class contains
multiple redundant friend (type or decl) declarations.
If the order is incorrect this could cause false structural
equivalences and wrong declaration chains after import.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75740
Files:
clang/lib/AST/ASTImporter.cpp
clang/unittests/AST/ASTImporterTest.cpp
clang/unittests/AST/StructuralEquivalenceTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75740.248716.patch
Type: text/x-patch
Size: 6969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200306/589bf478/attachment-0001.bin>
More information about the cfe-commits
mailing list