[all-commits] [llvm/llvm-project] 96122b: [C++20] [Modules] Introduce ForceCheckCXX20Modules...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Fri Sep 8 01:53:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96122b5b717c2b1a291d7298ac50b1daf02bd97c
https://github.com/llvm/llvm-project/commit/96122b5b717c2b1a291d7298ac50b1daf02bd97c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/HeaderSearchOptions.h
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Serialization/ASTReader.cpp
A clang/test/Modules/cxx20-force-check-input.cppm
Log Message:
-----------
[C++20] [Modules] Introduce ForceCheckCXX20ModulesInputFiles options for
C++20 modules
Previously, we banned the check for input files from C++20 modules since
we thought the BMI from C++20 modules should be a standalone artifact.
However, during the recent experiment with clangd for modules, I find
it is necessary to tell whether or not a BMI is out-of-date by checking the
input files especially for language servers.
So this patch brings a header search option
ForceCheckCXX20ModulesInputFiles to allow the tools (concretly, clangd)
to check the input files from BMI.
More information about the All-commits
mailing list