Closed
Bug 1320874
Opened 8 years ago
Closed 8 years ago
Convert some code in view/ to C++11
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
Details
Attachments
(1 file)
Using the checkers provided by clang-tidy we can refresh the code to make it use the features of C++11 like: - auto variables declarations - default CTORS and DTORS - using new range loop operators
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8815182 -
Flags: review?(mstange)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bpostelnicu
Comment 2•8 years ago
|
||
Really, clang-tidy suggests this? I'm not convinced it improves readability nor maintainability. How has this type of fix gone over in the other bugs that you've filed?
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8815182 [details] Bug 1320874 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in view/. https://reviewboard.mozilla.org/r/96210/#review96630 Looks like froydnj r+ed a similar fix in bug 1319752, so if he's fine with it, I'm fine with it. In any case it's not important enough to fight about.
Attachment #8815182 -
Flags: review?(mstange) → review+
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/176260cf74af Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in view/. r=mstange
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/176260cf74af
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
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
•