repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1846030 [wpt PR 41229] - CloseWatcher: factor out and expand Esc key tests, a...
[gecko.git]
/
tools
/
clang-tidy
/
test
/
modernize-use-bool-literals.cpp
blob
58b7ec8f29a08ace43dd556d6333073a234d6848
1
void
foo
() {
2
bool
p
=
1
;
3
bool
f
=
static_cast
<
bool
>(
1
);
4
bool
x
=
p
?
1
:
0
;
5
}