refactor: [toolchain] Optimize the CMake toolchain configuration #1515
Annotations
10 warnings
src/plugins/cxx/cmake/option/kit.cpp#L29
Parameter 'id' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++.
|
src/plugins/cxx/cmake/option/kit.cpp#L135
Parameter 'key' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++.
|
src/plugins/cxx/cmake/option/kit.cpp#L154
Parameter 'key' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++.
|
src/plugins/cxx/cmake/option/kit.cpp#L111
The function 'setCMakeGenerator' is never used.
|
src/plugins/cxx/cmake/option/kitmanager.cpp#L35
Same iterators expression are used for algorithm.
|
src/plugins/cxx/cmake/option/kitmanager.cpp#L23
The function 'removeKit' is never used.
|
src/plugins/cxx/cmake/project/properties/configutil.cpp#L191
Local variable 'arguments' shadows outer variable
|
src/plugins/cxx/cmake/project/properties/configutil.cpp#L191
Local variable 'arguments' shadows outer variable
|
src/plugins/cxx/cmake/project/properties/configutil.h#L30
Local variable 'type' shadows outer variable
|
src/plugins/cxx/cmake/project/properties/configutil.h#L184
Local variable 'type' shadows outer variable
|
This job succeeded
Loading