Open Bug 1649071 Opened 4 years ago Updated 2 years ago

Replace the DISALLOW_COPY_AND_ASSIGN & DISALLOW_EVIL_CONSTRUCTORS macros with = delete;

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox80 affected)

REOPENED
mozilla80
Tracking Status
firefox80 --- affected

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Generated with:
./mach static-analysis check --checks="-*, modernize-replace-disallow-copy-and-assign-macro" --fix -j 10 <file>
and
./mach clang-format -p <file>
(as clang-apply-replacement doesn't reformat the change)

(with ~/.mozbuild/clang-tools/clang-tidy/bin/clang-tidy pointing to clang-tidy 11)

Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2b5f60b908a6
Replace the DISALLOW_COPY_AND_ASSIGN & DISALLOW_EVIL_CONSTRUCTORS macros with = delete; r=froydnj
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

Definitions remain + some cases in header files

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: