compile
command_line: /usr/bin/ccache /usr/bin/clazy -I/home/dp/.cache/chorse/cmake/clazy/binary/Utilities -I/home/dp/.cache/chorse/cmake/clazy/binary/Source -I/home/dp/.cache/chorse/cmake/clazy/source/Source -I/home/dp/.cache/chorse/cmake/clazy/source/Source/LexerParser -isystem /home/dp/.cache/chorse/cmake/clazy/source/Utilities/std -isystem /home/dp/.cache/chorse/cmake/clazy/source/Utilities -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith -Wformat-security -Wundef -g -std=c++17 -Wno-deprecated-declarations -MD -MT Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsGraphReadJSONTestPresets.cxx.o -MF Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsGraphReadJSONTestPresets.cxx.o.d -o Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsGraphReadJSONTestPresets.cxx.o -c /home/dp/.cache/chorse/cmake/clazy/source/Source/cmCMakePresetsGraphReadJSONTestPresets.cxx
working_directory: "/home/dp/.cache/chorse/cmake/clazy/binary"
Target: CMakeLib
Target Type: STATIC_LIBRARY
Source: /home/dp/.cache/chorse/cmake/clazy/source/Source/cmCMakePresetsGraphReadJSONTestPresets.cxx
Language: C++
Config: Debug
stderr:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmCMakePresetsGraphReadJSONTestPresets.cxx:14:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmCMakePresetsErrors.h:11:
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmJSONHelpers.h:99:18: warning: cmJSONHelperBuilder::Object::Bind: Pass small and trivially-copyable type by value (const cm::string_view & name) [-Wclazy-function-args-by-value]
99 | Object& Bind(cm::string_view const& name, M U::*member, F func,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| cm::string_view name
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmJSONHelpers.h:109:18: warning: cmJSONHelperBuilder::Object::Bind: Pass small and trivially-copyable type by value (const cm::string_view & name) [-Wclazy-function-args-by-value]
109 | Object& Bind(cm::string_view const& name, std::nullptr_t, F func,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| cm::string_view name
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmJSONHelpers.h:122:18: warning: cmJSONHelperBuilder::Object::Bind: Pass small and trivially-copyable type by value (const cm::string_view & name) [-Wclazy-function-args-by-value]
122 | Object& Bind(cm::string_view const& name, F func, bool required = true)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| cm::string_view name
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmJSONHelpers.h:200:25: warning: cmJSONHelperBuilder::Object::BindPrivate: Pass small and trivially-copyable type by value (const cm::string_view & name) [-Wclazy-function-args-by-value]
200 | Object& BindPrivate(cm::string_view const& name, MemberFunction&& func,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| cm::string_view name
4 warnings generated.