[all-commits] [llvm/llvm-project] 5518b4: [clang][ASTImporter] Remove trailing return testin...

Ding Fei via All-commits all-commits at lists.llvm.org
Tue Aug 6 20:35:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5518b46c128e344a6b67c72965f229ab3e625c34
      https://github.com/llvm/llvm-project/commit/5518b46c128e344a6b67c72965f229ab3e625c34
  Author: Ding Fei <fding at feysh.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

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

  Log Message:
  -----------
  [clang][ASTImporter] Remove trailing return testing on lambda proto (#101031)

Lambdas without trailing return could also have return type defined
inside its body.

This fixes crashes (infinite recursion) on lambda expr without
parameters (no parentheses).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list