Page MenuHomePhabricator

Fix CPP Lint severity
ClosedPublic

Authored by prmshepherd on Jun 23 2014, 10:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 3:14 PM
Unknown Object (File)
Sun, Jan 19, 12:13 AM
Unknown Object (File)
Fri, Jan 17, 7:37 PM
Unknown Object (File)
Wed, Jan 8, 2:33 PM
Unknown Object (File)
Thu, Dec 26, 6:10 PM
Unknown Object (File)
Dec 16 2024, 12:27 AM
Unknown Object (File)
Dec 14 2024, 8:54 AM
Unknown Object (File)
Dec 9 2024, 3:21 PM
Subscribers

Details

Summary

Currently all CPPLint issues are hard-coded to warning level, which prevents customising the severity in .arclint. Change to pick up the configured severity. Note that getLintMessageSeverity will call getDefaultMessageSeverity if nothing is configured for that error category.

Test Plan

Tested manually to confirm configured categories display with the correct severity and that non-configured ones return with the default severity (ERROR).

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 1320
Build 1320: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

prmshepherd retitled this revision from to Fix CPP Lint severity.
prmshepherd updated this object.
prmshepherd edited the test plan for this revision. (Show Details)
prmshepherd added a reviewer: epriestley.
prmshepherd edited edge metadata.

Original patch changed default severity. Set the default severity to be warning

Fix typo on default severity enum

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 19 2015, 2:57 PM
This revision was automatically updated to reflect the committed changes.