compile
command_line: /usr/bin/cmake -E __run_co_compile --launcher=/usr/bin/ccache --tidy=/usr/bin/clang-tidy;--extra-arg-before=--driver-mode=g++ --source=/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/cmCMakePresetsGraph.cxx -- /usr/bin/clazy -DCLANG_TIDY_SHA1=8a59fea458a50d0d2b4216fc37a3d8e89719ec46 -I/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/binary/Utilities -I/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/binary/Source -I/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source -I/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/LexerParser -isystem /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Utilities/std -isystem /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/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/cmCMakePresetsGraph.cxx.o -MF Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsGraph.cxx.o.d -o Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsGraph.cxx.o -c /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/cmCMakePresetsGraph.cxx
working_directory: "/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/binary"
Target: CMakeLib
Target Type: STATIC_LIBRARY
Source: /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/cmCMakePresetsGraph.cxx
Language: C++
Config: Debug
stderr:
In file included from /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/cmCMakePresetsGraph.cxx:18:
In file included from /home/dp/.cache/cmake/ci/clazy-tidy-iwyu/source/Source/cmCMakePresetsErrors.h:11:
/home/dp/.cache/cmake/ci/clazy-tidy-iwyu/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/cmake/ci/clazy-tidy-iwyu/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/cmake/ci/clazy-tidy-iwyu/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/cmake/ci/clazy-tidy-iwyu/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.