[all-commits] [llvm/llvm-project] 869111: [NFC] [C++20] [Modules] Refactor the warning to '-...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Sep 7 02:14:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 869111ccf2d3916bf24a31bdb367d7e567483ff0
      https://github.com/llvm/llvm-project/commit/869111ccf2d3916bf24a31bdb367d7e567483ff0
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Basic/DiagnosticSerializationKinds.td
    M clang/include/clang/Frontend/CompilerInstance.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [NFC] [C++20] [Modules] Refactor the warning to '-fmodule-file=<BMIPath>' for C++20 modules

Previous implementation of the warning to use `-fmodule-file=<BMIPath>`
for C++20 Modules is not straightforward and it is problematic in case
we read the BMIPath by writing tools based clang components. This patch
refactors it with a simple and direct style.




More information about the All-commits mailing list