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

6 lines
114 B
C++
Raw Normal View History

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