Open Bug 1359562 Opened 8 years ago Updated 2 years ago

Static analysis for unused bool outparams

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: sfink, Unassigned)

Details

MOZ_MUST_USE is great for bool return values. It would be nice to have something similar for bool outparams:

  SomeType foo(bool *aSuccess);

MOZ_MUST_DEREFERENCE or something.
Priority: -- → P2
Product: Core → Firefox Build System
Priority: P2 → P3
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.