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 1879449 [wpt PR 44489] - [wptrunner] Add `infrastructure/expected-fail/` test...
[gecko.git]
/
tools
/
clang-tidy
/
test
/
readability-misleading-indentation.cpp
blob
8b2301017087a640b4fd0e4101366746494653fc
1
void
f
()
2
{
3
}
4
5
void
foo
() {
6
if
(
1
)
7
if
(
0
)
8
f
();
9
else
10
f
();
11
}
12
13
void
foo2
() {
14
constexpr
bool
a
=
true
;
15
if
constexpr
(
a
) {
16
f
();
17
}
else
{
18
f
();
19
}
20
}