Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistCpplintLinter.php
| Show All 23 Lines | public function getDefaultBinary() { | ||||
| } | } | ||||
| } | } | ||||
| public function getInstallInstructions() { | public function getInstallInstructions() { | ||||
| return pht('Install cpplint.py using `wget http://google-styleguide.'. | return pht('Install cpplint.py using `wget http://google-styleguide.'. | ||||
| 'googlecode.com/svn/trunk/cpplint/cpplint.py`.'); | 'googlecode.com/svn/trunk/cpplint/cpplint.py`.'); | ||||
| } | } | ||||
| public function supportsReadDataFromStdin() { | |||||
| return true; | |||||
| } | |||||
| public function getReadDataFromStdinFilename() { | |||||
| return '-'; | |||||
| } | |||||
| protected function getDefaultFlags() { | protected function getDefaultFlags() { | ||||
| return $this->getDeprecatedConfiguration('lint.cpplint.options', array()); | return $this->getDeprecatedConfiguration('lint.cpplint.options', array()); | ||||
| } | } | ||||
| protected function parseLinterOutput($path, $err, $stdout, $stderr) { | protected function parseLinterOutput($path, $err, $stdout, $stderr) { | ||||
| $lines = explode("\n", $stderr); | $lines = explode("\n", $stderr); | ||||
| $messages = array(); | $messages = array(); | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||