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
/
readability-isolate-declaration.cpp
blob
5d64e0171fdd74bae5ec828e3a5bfd27abc19b21
1
void
f
() {
2
int
*
pointer
=
nullptr
,
value
=
42
, *
const
const_ptr
= &
value
;
3
// This declaration will be diagnosed and transformed into:
4
// int * pointer = nullptr;
5
// int value = 42;
6
// int * const const_ptr = &value;
7
}