Page MenuHomePhabricator

In the "cpplint" binding, raise messages on "line 0" without a line
ClosedPublic

Authored by epriestley on May 27 2020, 5:58 PM.
Tags
None
Referenced Files
F18439641: D21289.id50697.diff
Sun, Aug 31, 3:14 PM
F18390801: D21289.diff
Fri, Aug 29, 7:08 AM
F18170312: D21289.id50697.diff
Fri, Aug 15, 5:59 PM
F18114675: D21289.diff
Wed, Aug 13, 5:17 AM
F18101120: D21289.diff
Sat, Aug 9, 12:20 PM
F17942041: D21289.id50697.diff
Jul 31 2025, 6:11 AM
F17940093: D21289.diff
Jul 31 2025, 3:53 AM
Unknown Object (File)
Jun 17 2025, 5:25 AM
Subscribers
None

Details

Summary

Ref T13543. The "cpplint.py" script may emit messages on line 0, but Arcanist doesn't accept these messages.

This is a small piece of a whole set of broader issues, but stop the bleeding for now.

Test Plan
  • Ran arc lint example.h on a file with no #ifndef guard, and cpplint configured.
  • Cpplint raised a message at line "0".
  • Before change: arc choked when trying to render this.
  • After change: arc survives rendering.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable