]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Improve comment
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 8 May 2021 14:46:56 +0000 (16:46 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 8 May 2021 16:48:12 +0000 (18:48 +0200)
src/ccache.cpp

index 31fb2dd7cb1b7c84dabab4f7b8c976a703bbe085..08e9447bcdb9df01e07721b199baa351107be033 100644 (file)
@@ -1427,13 +1427,13 @@ hash_common_info(const Context& ctx,
   if ((!should_rewrite_dependency_target(ctx.args_info)
        && ctx.args_info.generating_dependencies)
       || ctx.args_info.seen_split_dwarf) {
-    // The output object file name is part of the .d file, so include the path
-    // in the hash if generating dependencies.
+    // If generating dependencies: The output object file name is part of the .d
+    // file, so include the path in the hash.
     //
-    // Object files include a link to the corresponding .dwo file based on the
-    // target object filename when using -gsplit-dwarf, so hashing the object
-    // file path will do it, although just hashing the object file base name
-    // would be enough.
+    // When using -gsplit-dwarf: Object files include a link to the
+    // corresponding .dwo file based on the target object filename, so hashing
+    // the object file path will do it, although just hashing the object file
+    // base name would be enough.
     hash.hash_delimiter("object file");
     hash.hash(ctx.args_info.output_obj);
   }