[all-commits] [llvm/llvm-project] c0d6f8: [C++20] [Modules] Serialize the evaluated constant...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue May 23 19:29:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d6f85e3ae8bcfdb7217d165314f01c1a4af9ae
      https://github.com/llvm/llvm-project/commit/c0d6f85e3ae8bcfdb7217d165314f01c1a4af9ae
  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
    M clang/unittests/Serialization/CMakeLists.txt
    A clang/unittests/Serialization/VarDeclConstantInitTest.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list