}
}
- // Hash the contents of explicitly imported module files (-fmodule-file=).
- // The pcm content is not visible in the preprocessed output
+ // Hash the contents of explicitly imported module files (-fmodule-file=). The
+ // pcm content is not visible in the preprocessed output
for (const auto& module_file : ctx.args_info.module_files) {
LOG("Hashing module file {}", module_file);
hash.hash_delimiter("modulefile");
}
if (!(ctx.args_info.build_session_file.empty())) {
- // When using -fbuild-session-file, the actual mtime needs to be
- // added to the hash to prevent false positive cache hits if the
- // mtime of the file changes.
+ // When using -fbuild-session-file, the actual mtime needs to be added to
+ // the hash to prevent false positive cache hits if the mtime of the file
+ // changes.
hash.hash_delimiter("-fbuild-session-file mtime");
hash.hash(
util::nsec_tot(DirEntry(ctx.args_info.build_session_file).mtime()));
# are part of the hash, so that changes to a module (e.g. template function
# bodies) invalidate cached consumer object files.
#
-# A precompiled module file (pcm) is not part of the preprocessed
-# output of a consumer translation unit, so without explicit hashing the consumer
-# gets a false cache hit after the module changes and silently runs stale code.
+# A precompiled module file (pcm) is not part of the preprocessed output of a
+# consumer translation unit, so without explicit hashing the consumer gets a
+# false cache hit after the module changes and silently runs stale code.
SUITE_fmodule_file_PROBE() {
if ! $COMPILER_TYPE_CLANG || $COMPILER_USES_MSVC; then