[all-commits] [llvm/llvm-project] 1ba93c: [Modules] Don't re-generate template specializatio...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Feb 14 01:16:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ba93c3c30dcdf2659e3020ba462e0025187d8e1
      https://github.com/llvm/llvm-project/commit/1ba93c3c30dcdf2659e3020ba462e0025187d8e1
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp
    M clang/test/Modules/pr59780.cppm
    A clang/test/Modules/pr60693.cppm

  Log Message:
  -----------
  [Modules] Don't re-generate template specialization in the importer

Close https://github.com/llvm/llvm-project/issues/60693.

In this issue, we can find that the importer will try to generate the
template specialization again in the importer, which is not good and
wastes time. This patch tries to address the problem.




More information about the All-commits mailing list