Closed
Bug 520626
Opened 15 years ago
Closed 6 years ago
Get rid of pointless QI calls
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: taras.mozilla, Unassigned)
References
Details
we have a lot of pointless qi calls. nsIFile->nsILocalFile(and friends) most nsIInputStream->nsSeekableStream QIs could be done away with. Not only do these qi, but they also are immediately followed by error checks. I think as a solution would be some static analysis soup and code that expands to something like static_cast<nsIDerived> foo = abstract;
Comment 1•14 years ago
|
||
I assume this would also catch cases like 575900 where a QI can be replaced with an *implicit* static cast.
Summary: Get rid of pointless qi calls → Get rid of pointless QI calls
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•