Closed
Bug 1498489
Opened 6 years ago
Closed 6 years ago
Remove redundant `virtual` from final virtual function declarations
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement, P5)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox65 fixed)
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: andi)
References
Details
Attachments
(1 file, 1 obsolete file)
No description provided.
Reporter | ||
Comment 1•6 years ago
|
||
Follow up of bug 1436263
Updated•6 years ago
|
Attachment #9016621 -
Attachment description: bug 1498489 - Remove `virtual` from final virtual function declarations r?froydnj → bug 1498489 - Remove `final` from final virtual function declarations r?froydnj
Comment 2•6 years ago
|
||
Why do we remove `final` even though it is a final method? Why isn't `virtual` removed instead?
Updated•6 years ago
|
Flags: needinfo?(sledru)
Reporter | ||
Comment 3•6 years ago
|
||
As you wish :)
I was trying to fix some linting issue.
Flags: needinfo?(sledru)
Reporter | ||
Comment 4•6 years ago
|
||
Reassigning, Chris knows much more than I do on that :)
Assignee: nobody → cpeterson
Comment 5•6 years ago
|
||
Anthony - is there a better component for this kind of thing?
Flags: needinfo?(ajones)
Comment 6•6 years ago
|
||
Unassigning myself because I don't have time to work on this.
The cpp-virtual-final.yml lint check added in bug 1436263 warns about virtual functions that redundantly specify `virtual`, `override`, and/or `final` (though only for function declarations that fit on one line). This bug is about cleaning up multi-line virtual function declarations.
Assignee: cpeterson → nobody
status-firefox64:
affected → ---
Priority: -- → P5
Summary: Followup Remove `virtual` from final virtual function declarations → Remove redundant `virtual` from final virtual function declarations
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Comment 7•6 years ago
|
||
Source code analysis is probably a better component for this bug.
Component: General → Source Code Analysis
Flags: needinfo?(ajones)
Product: Core → Firefox Build System
Assignee | ||
Comment 8•6 years ago
|
||
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/45d4f9eb3c21
Remove `virtual` from the declaration of an already virtual function. r=froydnj
Comment 10•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Updated•6 years ago
|
Assignee: bpostelnicu → nobody
Updated•6 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Comment 13•6 years ago
|
||
Because I was experimenting with this bug and didn't want to flood you with my trials.
Flags: needinfo?(sledru)
Updated•6 years ago
|
Attachment #9016621 -
Attachment is obsolete: true
Reporter | ||
Updated•6 years ago
|
Blocks: clang-format
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
•