Open
Bug 1360693
Opened 9 years ago
Updated 3 years ago
Reject passing getter_AddRefs to MOZ_DOES_NOT_ADDREF outparameters
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
NEW
People
(Reporter: nika, Unassigned)
References
(Depends on 1 open bug)
Details
This is a natural compliment to bug 1359455 in that we should not only ensure that people use getter_AddRefs when the outparameter does in fact addref, but we should also make sure that people don't use getter_AddRefs when it does not. From the previous patch many parameters are marked as MOZ_DOES_NOT_ADDREF, and these annotations can be used to ensure that getter_AddRefs is not used in places where it should not be.
Updated•8 years ago
|
Product: Core → Firefox Build System
| Reporter | ||
Comment 1•7 years ago
|
||
Unassigning as I don't have time to work on this.
Assignee: nika → nobody
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•