[all-commits] [llvm/llvm-project] 807aa2: [C++20] [Modules] Don't ignore -fmodule-file when ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon May 22 23:22:31 PDT 2023


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

  Changed paths:
    M clang/include/clang/Frontend/ASTUnit.h
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/ASTMerge.cpp
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/test/Modules/no-implicit-std-cxx-module.cppm
    M clang/tools/c-index-test/core_main.cpp
    M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/unittests/Frontend/ASTUnitTest.cpp

  Log Message:
  -----------
  [C++20] [Modules] Don't ignore -fmodule-file when we compile pcm files

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

Previously when we compile .pcm files into .o files, the
`-fmodule-file=<module-name>=<module-path>` option is ignored. This is
conflicted with our consensus in
https://github.com/llvm/llvm-project/issues/62707.




More information about the All-commits mailing list