[all-commits] [llvm/llvm-project] 4e1c48: [clang] Fix crash when creating deduction guide.

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Tue Mar 9 08:02:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e1c487004a29ec9bc56fd47fc30336d033c57dd
      https://github.com/llvm/llvm-project/commit/4e1c487004a29ec9bc56fd47fc30336d033c57dd
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp

  Log Message:
  -----------
  [clang] Fix crash when creating deduction guide.

We used to trigger assertion when transforming c-tor with unparsed
default argument. Now we ignore such constructors for this purpose.

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




More information about the All-commits mailing list