Closed Bug 1968494 Opened 1 year ago Closed 9 months ago

Improve ParamTraitsEnumChecker clang-plugin to work with missing paramType

Categories

(Developer Infrastructure :: Source Code Analysis, task)

task

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

Details

Attachments

(1 external file)

The way the ParamTraitsEnumChecker is written currently, it doesn't actually look at the template argument of the ParamTraits, but is instead looking for typedef paramType. That typedef isn't actually required though. This caused to checker to miss bug 1902621.

Flags: needinfo?(sguelton)
Flags: needinfo?(sguelton)

Need to get this landed or taken over by someone else.

Flags: needinfo?(tschuster)
Flags: needinfo?(tschuster)

Please have a look at the review.

Flags: needinfo?(sguelton)
Flags: needinfo?(sguelton)
Pushed by tschuster@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/868f258c7aec https://hg.mozilla.org/integration/autoland/rev/1458763e65d4 Improve ParamTraitsEnumChecker clang-plugin to work with missing paramType. r=glandium,sergesanspaille
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: