Closed Bug 1599101 Opened 5 years ago Closed 5 years ago

For clang-tidy based analysis add checker `clang-analyzer-cplusplus.Move`

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I think it's reasonable to add clang-analyzer-cplusplus.Move, in this way we will eliminate some of the issues like where we use an object after it's been moved.

Could you please report bugs to address the existing issues?
thanks

We have 5 occurrences of this defect in the code base for now.

Where can we see the current defects? They are not in http://sylvestre.ledru.info/reports/fx-scan-build/ AFAIU.

Shared in private

Pushed by bpostelnicu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8861d7d25b12 For clang-tidy based analysis add checker `clang-analyzer-cplusplus.Move`. r=sylvestre
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: