[all-commits] [llvm/llvm-project] 85f5d1: [ASTImporter] Corrected import of repeated friend ...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Tue Jul 7 07:22:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 85f5d1261c9a3f0abc4ae370005a1127174f2ce1
https://github.com/llvm/llvm-project/commit/85f5d1261c9a3f0abc4ae370005a1127174f2ce1
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2020-07-07 (Tue, 07 Jul 2020)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
M clang/unittests/AST/ASTImporterTest.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
Log Message:
-----------
[ASTImporter] Corrected import of repeated friend declarations.
Summary:
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.
Reviewers: a.sidorin, shafik, a_sidorin
Reviewed By: shafik
Subscribers: dkrupp, Szelethus, gamesh411, teemperor, martong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D75740
More information about the All-commits
mailing list