Closed
Bug 1605934
Opened 4 years ago
Closed 4 years ago
Use nested namespaces - new feature of C++17
Categories
(Developer Infrastructure :: Source Code Analysis, task)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox74 fixed)
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(2 files, 1 obsolete file)
This replaces
namespace mozilla {
namespace a11y {
by
namespace mozilla::a11y {
I run clang-format to replace the end of the namespace:
} // namespace Telemetry
} // namespace mozilla
by
} // namespace mozilla::Telemetry
Assignee | ||
Comment 1•4 years ago
|
||
This is a new feature of C++17
Assignee | ||
Comment 2•4 years ago
|
||
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files
Updated•4 years ago
|
Attachment #9121705 -
Attachment is obsolete: true
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bbb39655cf71 Use nested namespaces r=sg
Comment 4•4 years ago
|
||
Backed out changeset bbb39655cf71 (bug 1605934) for build bustage in widget/gtk/mozwayland/mozwayland.c
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=285496150&repo=autoland&lineNumber=45976
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&selectedJob=285496112&revision=bbb39655cf717165e956e844ccff83c3456b4e56
Backout:
https://hg.mozilla.org/integration/autoland/rev/29265c40e70287d999ca9cb7e4502c1568fa833a
Flags: needinfo?(sledru)
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/633a2d3af5fa Use nested namespaces r=sg
Assignee | ||
Comment 6•4 years ago
|
||
ok, thanks
I removed this file from the change
Comment 7•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Assignee | ||
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0860e1962a65 Add nested namespaces in the C++ coding style r=sg
Comment 11•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Type: enhancement → task
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
•