Closed Bug 1754767 Opened 3 years ago Closed 3 years ago

Remove duplicate headers with "readability-duplicate-include"

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

clang tidy has a new checker:
https://reviews.llvm.org/D7982

Applying it to our code base with:
./mach static-analysis check --checks="-*, readability-duplicate-include" --fix

with clang-tidy & run-clang-tidy updated to point to 15:
~/.mozbuild/clang-tools/clang-tidy/bin

Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b07f125d09fd Remove duplicate includes r=media-playback-reviewers,padenot
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Product: Firefox Build System → Developer Infrastructure
Duplicate of this bug: 1358345
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: