clang-tidy-readability-iden.../sources/StaticConstant.cpp

6 lines
114 B
C++

int functionWithStaticConstant() {
static const int StaticConstant = 0;
return StaticConstant;
}