Closed Bug 1436354 Opened 6 years ago Closed 6 years ago

Enable modernize-use-bool-literals at review phase

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(firefox60 fixed)

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html

C++ has a boolean type, let's use it! This is improving a bit the readability of the code.
Assignee: nobody → sledru
Comment on attachment 8948999 [details]
Bug 1436354 - Enable modernize-use-bool-literals at review phase

https://reviewboard.mozilla.org/r/218410/#review229278
Attachment #8948999 - Flags: review?(ehsan) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33f5af992a67
Enable modernize-use-bool-literals at review phase r=Ehsan
https://hg.mozilla.org/mozilla-central/rev/33f5af992a67
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Product: Core → Firefox Build System
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: