Open
Bug 2060534
Opened 3 months ago
Updated 1 month ago
Enable -Wunused-but-set-global by default
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(firefox155 affected)
ASSIGNED
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | affected |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
clang 22 adds -Wunused-but-set-global, the global-variable counterpart of the -Wunused-but-set-variable / -Wunused-but-set-parameter warnings we already enable. It catches genuinely dead state, e.g. in browser/app/nsBrowserApp.cpp:
| Assignee | ||
Updated•3 months ago
|
Blocks: clang-based-analysis
No longer regressed by: 1992267
| Assignee | ||
Comment 1•3 months ago
|
||
The global-variable counterpart of the -Wunused-but-set-variable and
-Wunused-but-set-parameter warnings we already enable. Available in
clang 22 and later.
Updated•3 months ago
|
Assignee: nobody → sledru
Status: NEW → ASSIGNED
Comment 2•3 months ago
|
||
This bug has been marked as a regression. Setting status flag for Nightly to affected.
status-firefox155:
--- → affected
Updated•3 months ago
|
Type: defect → task
Keywords: regression
Updated•1 month ago
|
Attachment #9621659 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•