Page MenuHomePhabricator

Fix CPP Lint severity
ClosedPublic

Authored by prmshepherd on Jun 23 2014, 10:48 AM.
Tags
None
Referenced Files
F14023918: D9682.diff
Thu, Nov 7, 4:02 AM
F14023396: D9682.diff
Thu, Nov 7, 1:32 AM
F14018123: D9682.diff
Tue, Nov 5, 5:03 AM
F13984213: D9682.id23242.diff
Sun, Oct 20, 11:41 AM
F13972446: D9682.id31099.diff
Thu, Oct 17, 7:03 PM
Unknown Object (File)
Sun, Oct 13, 3:35 PM
Unknown Object (File)
Oct 10 2024, 4:59 AM
Unknown Object (File)
Oct 7 2024, 12:40 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 1327
Build 1327: [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.