Page MenuHomePhabricator

D7444.id16772.diff

D7444.id16772.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($this->getActivePath())) {
+ 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/jt/n6/lmto6weldghzctxh
Default Alt Text
D7444.id16772.diff (484 B)

Event Timeline