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/cmComputeLinkDepends.cxx.o -MF Source/CMakeFiles/CMakeLib.dir/cmComputeLinkDepends.cxx.o.d -o Source/CMakeFiles/CMakeLib.dir/cmComputeLinkDepends.cxx.o -c /home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.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/cmComputeLinkDepends.cxx

Language: C++

Config: Debug

stderr:

In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:22:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmGeneratorExpression.h:17:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmLocalGenerator.h:21:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmGeneratorTarget.h:24:
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmStandardLevel.h:17:25: warning: operator<: Pass small and trivially-copyable type by value (const cmStandardLevel & l) [-Wclazy-function-args-by-value]
   17 |   friend bool operator<(cmStandardLevel const& l, cmStandardLevel const& r)
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
      |                         cmStandardLevel l
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmStandardLevel.h:17:51: warning: operator<: Pass small and trivially-copyable type by value (const cmStandardLevel & r) [-Wclazy-function-args-by-value]
   17 |   friend bool operator<(cmStandardLevel const& l, cmStandardLevel const& r)
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   cmStandardLevel r
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:33:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmState.h:18:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmDefinitions.h:14:
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmString.hxx:90:34: warning: cm::IntoString<char>::into_string: Pass small and trivially-copyable type by value (const char & c) [-Wclazy-function-args-by-value]
   90 |   static std::string into_string(char const& c) { return std::string(1, c); }
      |                                  ^~~~~~~~~~~~~
      |                                  char c
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmString.hxx:145:27: warning: cm::AsStringView<char>::view: Pass small and trivially-copyable type by value (const char & s) [-Wclazy-function-args-by-value]
  145 |   static string_view view(char const& s) { return string_view(&s, 1); }
      |                           ^~~~~~~~~~~~~
      |                           char s
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmString.hxx:151:27: warning: cm::AsStringView<std::basic_string_view<char>>::view: Pass small and trivially-copyable type by value (const string_view & s) [-Wclazy-function-args-by-value]
  151 |   static string_view view(string_view const& s) { return s; }
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           string_view s
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmString.hxx:157:27: warning: cm::AsStringView<cm::static_string_view>::view: Pass small and trivially-copyable type by value (const static_string_view & s) [-Wclazy-function-args-by-value]
  157 |   static string_view view(static_string_view const& s) { return s; }
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           static_string_view s
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:782:27: warning: cmComputeLinkDepends::AddLinkEntry: Pass small and trivially-copyable type by value (const cm::optional<size_t> & groupIndex) [-Wclazy-function-args-by-value]
  782 |   cmLinkItem const& item, cm::optional<size_t> const& groupIndex)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           cm::optional<size_t> groupIndex
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:953:3: warning: cmComputeLinkDepends::AddVarLinkEntries: Pass small and trivially-copyable type by value (const cm::optional<size_t> & depender_index) [-Wclazy-function-args-by-value]
  953 |   cm::optional<size_t> const& depender_index, char const* value)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   cm::optional<size_t> depender_index
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:1024:3: warning: cmComputeLinkDepends::AddLinkEntries: Pass small and trivially-copyable type by value (const cm::optional<size_t> & depender_index) [-Wclazy-function-args-by-value]
 1024 |   cm::optional<size_t> const& depender_index, std::vector<T> const& libs)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   cm::optional<size_t> depender_index
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmComputeLinkDepends.cxx:1308:3: warning: cmComputeLinkDepends::ResolveLinkItem: Pass small and trivially-copyable type by value (const cm::optional<size_t> & depender_index) [-Wclazy-function-args-by-value]
 1308 |   cm::optional<size_t> const& depender_index, std::string const& name)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   cm::optional<size_t> depender_index
10 warnings generated.
Status: 0
Loading...