aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-08 11:56:38 -0800
committerKazu Hirata <kazu@google.com>2022-01-08 11:56:38 -0800
commit435a5a365207d0f4b1be35a1ea3bcd4981950b20 (patch)
treedcbb63a0ee59426d2e0145339ad5e1ab61382790 /llvm/tools/llvm-cov/CodeCoverage.cpp
parent2cafbcb560d9e6e2300941d088e754b01d56595b (diff)
downloadllvm-435a5a365207d0f4b1be35a1ea3bcd4981950b20.zip
llvm-435a5a365207d0f4b1be35a1ea3bcd4981950b20.tar.gz
llvm-435a5a365207d0f4b1be35a1ea3bcd4981950b20.tar.bz2
[llvm] Fix bugprone argument comments (NFC)
Identified with bugprone-argument-comment.
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
-rw-r--r--llvm/tools/llvm-cov/CodeCoverage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp
index d357ad7..ef80128 100644
--- a/llvm/tools/llvm-cov/CodeCoverage.cpp
+++ b/llvm/tools/llvm-cov/CodeCoverage.cpp
@@ -209,7 +209,7 @@ void CodeCoverageTool::addCollectedPath(const std::string &Path) {
error(EC.message(), Path);
return;
}
- sys::path::remove_dots(EffectivePath, /*remove_dot_dots=*/true);
+ sys::path::remove_dots(EffectivePath, /*remove_dot_dot=*/true);
if (!IgnoreFilenameFilters.matchesFilename(EffectivePath))
SourceFiles.emplace_back(EffectivePath.str());
HadSourceFiles = !SourceFiles.empty();