summaryrefslogtreecommitdiff
path: root/lib/Headers
diff options
context:
space:
mode:
authorBalazs Keri <1.int32@gmail.com>2019-08-12 10:07:38 +0000
committerBalazs Keri <1.int32@gmail.com>2019-08-12 10:07:38 +0000
commitb58fb4558d242eeddf845703aa36b521f565f339 (patch)
treedbf843a5149df3d74297f02ed62e82e622c003ae /lib/Headers
parent8e613d7a8d21a0c0cc4b604cd7be017f8636ec86 (diff)
downloadclang-b58fb4558d242eeddf845703aa36b521f565f339.tar.gz
[ASTImporter] Fix for import of friend class template with definition.
Summary: If there is a friend class template "prototype" (forward declaration) and later a definition for it in the existing code, this existing definition may be not found by ASTImporter because it is not linked to the prototype (under the friend AST node). The problem is fixed by looping over all found matching decls instead of break after the first found one. Reviewers: martong, a.sidorin, shafik, a_sidorin Reviewed By: a_sidorin Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65269 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers')
0 files changed, 0 insertions, 0 deletions