[PATCH] D127396: [clang][ASTImporter] Fix import of function with auto return type.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 04:50:02 PDT 2022


balazske created this revision.
Herald added subscribers: steakhal, martong, gamesh411, Szelethus, dkrupp.
Herald added a reviewer: a.sidorin.
Herald added a reviewer: shafik.
Herald added a project: All.
balazske requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Fix a case of importing a function with auto return type
that is resolved with a type template argument that is declared
inside the function.
This is a fix for issue #55500 .


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127396

Files:
  clang/lib/AST/ASTImporter.cpp
  clang/unittests/AST/ASTImporterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127396.435504.patch
Type: text/x-patch
Size: 3988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220609/cd298c6b/attachment-0001.bin>


More information about the cfe-commits mailing list