Closed
Bug 1319396
Opened 8 years ago
Closed 8 years ago
Update the list of checkers in .clang-tidy file
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
As part of the initiative to convert gecko to C++11, I would like to update the .clang-tidy file with the checkers that Andi and myself are using. I am also proposing to remove misc-use-override as modernize-use-override is doing the same but can also manage auto replacement.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8813143 [details] Bug 1319396 - Update the list of checkers in the .clang-tidy file https://reviewboard.mozilla.org/r/94668/#review94938
Attachment #8813143 -
Flags: review?(ehsan) → review+
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e262535fc73 Update the list of checkers in the .clang-tidy file r=Ehsan
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2e262535fc73
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sledru
Comment 5•7 years ago
|
||
What is the preferred replacement for NS_IMETHOD Method() override to avoid Warning: 'virtual' is redundant since the function is already declared 'override' [clang-tidy: modernize-use-override]? Would nsresult Method() override pick up __stdcall from the base class virtual? NS_IMETHODIMP Method() override would work I guess, but seems out of character, at least for a declaration that is not a definition. Thanks!
Flags: needinfo?(sledru)
Comment 6•7 years ago
|
||
(In reply to Karl Tomlinson (:karlt) from comment #5) > What is the preferred replacement for NS_IMETHOD Method() override to avoid > Warning: 'virtual' is redundant since the function is already declared > 'override' [clang-tidy: modernize-use-override]? > > Would nsresult Method() override pick up __stdcall from the base class > virtual? > NS_IMETHODIMP Method() override would work I guess, but seems out of > character, at least for a declaration that is not a definition. > > Thanks! Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1420366, we are planning to remove it.
Flags: needinfo?(sledru)
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
•