Closed
Bug 1551842
Opened 6 years ago
Closed 6 years ago
[Clang-Tidy] Add new checkers from clang-tidy 8.0
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox69 fixed)
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Since we've moved from clang 7.0.1 to clang 8.0.0 this upgrade came with a suit of new checkers that have been implemented or updated in the later version. From these we've decided to activate the following:
- bugprone-too-small-loop-variable
- cppcoreguidelines-narrowing-conversions
- modernize-deprecated-ios-base-aliases
- readability-const-return-type
- readability-isolate-declaration
- readability-magic-numbers
The reasoning why these checkers have been added are based on a cumulative aspects like:
- a low yield of false positives
- coherence with out coding style
- coherence with our current practices
Regression tests:
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a234872a4356
Add new clang-tidy checkers from clang 8.0.0. r=sylvestre,froydnj
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Updated•3 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
•