summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2022-06-11 19:50:53 +0200
committerJoel Rosdahl <joel@rosdahl.net>2022-08-20 13:52:48 +0200
commit425c22bb01dd6d2f572913cd374e2477ac428f97 (patch)
treed2b4e5cb4181b2002975363146d10c0f64e55d43
parentf28eac4d59b8c507fe11020d196c7fa71af87fd8 (diff)
downloadccache-425c22bb01dd6d2f572913cd374e2477ac428f97.tar.gz
chore: Fix typo in comment about MSVC object files
(cherry picked from commit 35e181c9c0e1e16fe7d7c741bd18f215e7cdc6d0)
-rw-r--r--src/ccache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccache.cpp b/src/ccache.cpp
index 4f691323..94f7c89f 100644
--- a/src/ccache.cpp
+++ b/src/ccache.cpp
@@ -1370,7 +1370,7 @@ hash_common_info(const Context& ctx,
hash.hash(dir_to_hash);
}
- // The object file produced by MSVC includes the full path to the object file
+ // The object file produced by MSVC includes the full path to the source file
// even without debug flags. Hashing the directory should be enough since the
// filename is included in the hash anyway.
if (ctx.config.is_compiler_group_msvc() && ctx.config.hash_dir()) {