[all-commits] [llvm/llvm-project] bf9ab0: [C++20] [Modules] Emit implicit Deduction Guide fo...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sat Sep 28 19:41:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf9ab0b7c3ba1d4a89a3dd9b00909ad3cfab3d48
      https://github.com/llvm/llvm-project/commit/bf9ab0b7c3ba1d4a89a3dd9b00909ad3cfab3d48
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-09-29 (Sun, 29 Sep 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriterDecl.cpp
    A clang/test/Modules/lambda-definitions.cppm

  Log Message:
  -----------
  [C++20] [Modules] Emit implicit Deduction Guide for implicit class specialization

Fixed a crash for the attached test case due to we missed to emit the
deduction guide. The reason is, the deduction guide is attached to the
export-decl in the imported module. So we won't emit it by traversing the
AST of the current TU.



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