diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-09-13 16:02:51 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-09-14 11:27:50 +0800 |
commit | 45c160510f6c2e7c64dbbbc29ff579b2caaff2db (patch) | |
tree | f595b5ace6f5a2f9cce144d7704b9762b5d53ff6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 850e90c47b3caaadb78581fb7a93655a8a60cbe0 (diff) | |
download | llvm-45c160510f6c2e7c64dbbbc29ff579b2caaff2db.zip llvm-45c160510f6c2e7c64dbbbc29ff579b2caaff2db.tar.gz llvm-45c160510f6c2e7c64dbbbc29ff579b2caaff2db.tar.bz2 |
[C++20] [Modules] [Serialization] Check input file contents with option ForceCheckCXX20ModulesInputFiles enabled
With overriden input files, e,g,. the compiler get the file from an
in-memroy buffer, the compiler can't get correct modified time information
to indicate whehter the input files are changed or not. Then, the
semantics of ForceCheckCXX20ModulesInputFiles are broken.
In this patch, if both ForceCheckCXX20ModulesInputFiles and
ValidateASTInputFilesContent and enabled, the compiler will still check the
hash value of the contents even if their modification time is the same.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions