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
F19013774: D21289.id.diff
Sat, Nov 22, 4:52 PM
F18985492: D21289.id50696.diff
Mon, Nov 17, 1:04 PM
F18974543: D21289.diff
Sat, Nov 15, 10:04 PM
F18848025: D21289.id50697.diff
Thu, Oct 30, 3:06 AM
F18847794: D21289.id50696.diff
Thu, Oct 30, 2:11 AM
F18836410: D21289.diff
Oct 27 2025, 12:51 AM
F18821941: D21289.id.diff
Oct 23 2025, 2:56 AM
F18734303: D21289.id.diff
Sep 30 2025, 10:51 PM
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