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
F15470321: D21289.id50697.diff
Fri, Apr 4, 9:33 PM
F15459991: D21289.id.diff
Mon, Mar 31, 6:57 PM
F15455801: D21289.diff
Sun, Mar 30, 4:55 AM
F15431124: D21289.id50697.diff
Mon, Mar 24, 10:40 AM
F15414445: D21289.diff
Thu, Mar 20, 12:37 AM
F15412888: D21289.diff
Wed, Mar 19, 3:34 PM
F15402361: D21289.id50696.diff
Mar 17 2025, 10:09 PM
F15386956: D21289.id.diff
Mar 15 2025, 1:34 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