gecko-dev/tools/clang-tidy/test/readability-isolate-declara...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 строки
229 B
C++
Исходник Обычный вид История

void f() {
int * pointer = nullptr, value = 42, * const const_ptr = &value;
// This declaration will be diagnosed and transformed into:
// int * pointer = nullptr;
// int value = 42;
// int * const const_ptr = &value;
}