[all-commits] [llvm/llvm-project] 2eeeff: [C++20] [Modules] Embed all source files for C++20...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Aug 29 01:06:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2eeeff842f993a694159183a2834b4d305549cad
      https://github.com/llvm/llvm-project/commit/2eeeff842f993a694159183a2834b4d305549cad
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/include/clang/CodeGen/CodeGenAction.h
    M clang/include/clang/Frontend/FrontendActions.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/test/Modules/no-local-decl-in-reduced-bmi.cppm
    M clang/test/Modules/reduced-bmi-empty-module-purview-std.cppm
    M clang/test/Modules/reduced-bmi-empty-module-purview.cppm
    M clang/test/Modules/unreached-static-entities.cppm

  Log Message:
  -----------
  [C++20] [Modules] Embed all source files for C++20 Modules (#102444)

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

The implementation rationale is, I don't want to pass
`-fmodules-embed-all-files` all the time since we can't test it in lit
tests (we're using `clang_cc1`). So I tried to set it in FrontendActions
for modules.



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