Page MenuHomePhabricator

D7444.diff

diff --git a/src/lint/linter/ArcanistCppcheckLinter.php b/src/lint/linter/ArcanistCppcheckLinter.php
--- a/src/lint/linter/ArcanistCppcheckLinter.php
+++ b/src/lint/linter/ArcanistCppcheckLinter.php
@@ -96,6 +96,9 @@
continue;
}
$file = $location->getAttribute('file');
+ if ($file != Filesystem::resolvePath($path)) {
+ continue;
+ }
$line = $location->getAttribute('line');
$id = $error->getAttribute('id');

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/lk/st/33m3oxuq6ampvsnc
Default Alt Text
D7444.diff (467 B)

Event Timeline