[all-commits] [llvm/llvm-project] acd80a: [clang][ASTImporter] Improved handling of function...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Mon Jul 25 01:28:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acd80a29ae7dcffabcb41e8579ebf4f371f0ddd7
      https://github.com/llvm/llvm-project/commit/acd80a29ae7dcffabcb41e8579ebf4f371f0ddd7
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    M clang/unittests/AST/ASTImporterTest.cpp

  Log Message:
  -----------
  [clang][ASTImporter] Improved handling of functions with auto return type.

Avoid a crash if a function is imported that has auto return type that
references to a template with an expression-type of argument that
references into the function's body.
Fixes issue #56047

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D129640




More information about the All-commits mailing list