Closed
Bug 1123145
Opened 9 years ago
Closed 9 years ago
Add an analysis to detect unneeded copies in ranged for loops
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1126813
People
(Reporter: jrmuizel, Unassigned)
Details
class LargeClass { ... } vector<LargeClass> list; we want to do detect: for (auto l : list) { ... } and suggest: for (const auto l& : list) { ... } ---- This maybe be tricky to get right and avoid any false positives.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Firefox Build System
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
•