Closed
Bug 1498489
Opened 5 years ago
Closed 5 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
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
No description provided.
Reporter | ||
Comment 1•5 years ago
|
||
Follow up of bug 1436263
Updated•5 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•5 years ago
|
||
Why do we remove `final` even though it is a final method? Why isn't `virtual` removed instead?
Updated•5 years ago
|
Flags: needinfo?(sledru)
Reporter | ||
Comment 3•5 years ago
|
||
As you wish :) I was trying to fix some linting issue.
Flags: needinfo?(sledru)
Reporter | ||
Comment 4•5 years ago
|
||
Reassigning, Chris knows much more than I do on that :)
Assignee: nobody → cpeterson
Comment 5•5 years ago
|
||
Anthony - is there a better component for this kind of thing?
Flags: needinfo?(ajones)
Comment 6•5 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•5 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Comment 7•5 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•5 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•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/45d4f9eb3c21
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Reporter | ||
Updated•5 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Updated•5 years ago
|
Assignee: bpostelnicu → nobody
Updated•5 years ago
|
Assignee: nobody → bpostelnicu
Reporter | ||
Comment 13•5 years ago
|
||
Because I was experimenting with this bug and didn't want to flood you with my trials.
Flags: needinfo?(sledru)
Updated•5 years ago
|
Attachment #9016621 -
Attachment is obsolete: true
Reporter | ||
Updated•5 years ago
|
Blocks: clang-format
Updated•1 year ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•