Closed Bug 1436354 Opened 4 years ago Closed 4 years ago

Enable modernize-use-bool-literals at review phase

Categories

(Firefox Build System :: 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: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.