[all-commits] [llvm/llvm-project] e22fa1: [C++20] [Modules] Emit a warning if the we load th...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed May 17 02:54:18 PDT 2023


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

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSerializationKinds.td
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p5-ex2.cpp
    M clang/test/CXX/module/basic/basic.search/module-import.cppm
    M clang/test/CXX/module/module.context/p7.cpp
    M clang/test/CXX/module/module.interface/p2.cpp
    M clang/test/Modules/cxx20-10-1-ex2.cpp
    M clang/test/Modules/cxx20-import-diagnostics-a.cpp
    M clang/test/Modules/eagerly-load-cxx-named-modules.cppm
    M clang/test/Modules/implicit-module-with-missing-path.cpp
    M clang/test/Modules/named-modules-adl-2.cppm
    A clang/test/Modules/no-implicit-std-cxx-module.cppm
    M clang/test/Modules/pr56916.cppm
    M clang/test/Modules/pr60036.cppm
    M clang/test/Modules/pr60775.cppm

  Log Message:
  -----------
  [C++20] [Modules] Emit a warning if the we load the modules by implicit generated path

A step to address https://github.com/llvm/llvm-project/issues/62707.

It is not user friendly enough to drop the implicitly generated path
directly. Let's emit the warning first and drop it in the next version.




More information about the All-commits mailing list