[all-commits] [llvm/llvm-project] 1c9a80: Recommit [C++20] [Modules] Serialize the evaluated...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed May 24 00:45:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c9a8004ed88c9a5e42e5b247cb489456559b845
      https://github.com/llvm/llvm-project/commit/1c9a8004ed88c9a5e42e5b247cb489456559b845
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/pr62796.cppm
    M clang/unittests/Serialization/CMakeLists.txt
    A clang/unittests/Serialization/VarDeclConstantInitTest.cpp

  Log Message:
  -----------
  Recommit [C++20] [Modules] Serialize the evaluated constant values for VarDecl

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

Previously, we didn't serialize the evaluated result for VarDecl. This
caused the compilation of template metaprogramming become slower than
expect. This patch fixes the issue.

This is a recommit tested with asan built clang.




More information about the All-commits mailing list