]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Tweak comments master
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 7 Aug 2026 08:58:49 +0000 (10:58 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 7 Aug 2026 08:58:49 +0000 (10:58 +0200)
src/ccache/ccache.cpp
test/suites/fmodule_file.bash

index 9361dad459581b463e78d643a8ae16faa2db55db..73cd3465fd15bccc7e0eb91746ea513521f4ab51 100644 (file)
@@ -1866,8 +1866,8 @@ hash_common_info(const Context& ctx, const util::Args& args, Hash& hash)
     }
   }
 
-  // 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");
@@ -1877,9 +1877,9 @@ hash_common_info(const Context& ctx, const util::Args& args, Hash& hash)
   }
 
   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()));
index 9e21cd91f91705004b75c2c1479b71e5e6799d4a..9dd9a4bdfae12b3c88e80aa71734f1b97927e108 100644 (file)
@@ -2,9 +2,9 @@
 # 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