Page MenuHomePhabricator

Fix CPP Lint severity
ClosedPublic

Authored by prmshepherd on Jun 23 2014, 10:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 5, 1:21 AM
Unknown Object (File)
Mon, Aug 26, 4:12 AM
Unknown Object (File)
Sat, Aug 24, 2:38 PM
Unknown Object (File)
Thu, Aug 22, 3:46 AM
Unknown Object (File)
Wed, Aug 21, 11:39 PM
Unknown Object (File)
Aug 20 2024, 11:22 PM
Unknown Object (File)
Aug 17 2024, 9:09 PM
Unknown Object (File)
Aug 16 2024, 4:16 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.