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

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 05:47:52 PDT 2022


martong accepted this revision.
martong added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: rnkovacs.

Thanks, nice work!

> This is a fix for issue #55500 .

I think github will NOT automatically close the issue, unless you have a more specific format in the commit message. E.g. "Fixes #555000". See the docs here: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue



================
Comment at: clang/lib/AST/ASTImporter.cpp:3250
+
 bool ASTNodeImporter::hasAutoReturnTypeDeclaredInside(FunctionDecl *D) {
   QualType FromTy = D->getType();
----------------
It's a good idea to extend this function!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127396/new/

https://reviews.llvm.org/D127396



More information about the cfe-commits mailing list