[all-commits] [llvm/llvm-project] e31ee6: [clang][ASTImporter] Handle UsingType in friend de...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Mon Jan 30 01:06:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e31ee6417c33a6e2f0e8440b1a86d5365279ad68
https://github.com/llvm/llvm-project/commit/e31ee6417c33a6e2f0e8440b1a86d5365279ad68
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M clang/lib/AST/ASTImporterLookupTable.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][ASTImporter] Handle UsingType in friend declarations.
ASTImporterLookupTable did not handle correctly friend declarations
where the friend type is an UsingType (type of a declaration that
comes from an using-declaration). The problem is fixed by handling
it in the same way as a friend with TypedefType.
Reviewed By: steakhal
Differential Revision: https://reviews.llvm.org/D142607
More information about the All-commits
mailing list