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

Language: C++

Config: Debug

stderr:

In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:3:
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.h:87:27: warning: operator<: Pass small and trivially-copyable type by value (const Object & l) [-Wclazy-function-args-by-value]
   87 |     friend bool operator<(Object const& l, Object const& r)
      |                           ^~~~~~~~~~~~~~~
      |                           Object l
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.h:87:44: warning: operator<: Pass small and trivially-copyable type by value (const Object & r) [-Wclazy-function-args-by-value]
   87 |     friend bool operator<(Object const& l, Object const& r)
      |                                            ^~~~~~~~~~~~~~~
      |                                            Object r
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.h:98:28: warning: operator!=: Pass small and trivially-copyable type by value (const Object & l) [-Wclazy-function-args-by-value]
   98 |     friend bool operator!=(Object const& l, Object const& r)
      |                            ^~~~~~~~~~~~~~~
      |                            Object l
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.h:98:45: warning: operator!=: Pass small and trivially-copyable type by value (const Object & r) [-Wclazy-function-args-by-value]
   98 |     friend bool operator!=(Object const& l, Object const& r)
      |                                             ^~~~~~~~~~~~~~~
      |                                             Object r
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:26:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmGlobalGenerator.h:27:
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/cmFileAPI.cxx:30:
In file included from /home/dp/.cache/chorse/cmake/clazy/source/Source/cmake.h:26:
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/cmFileAPI.cxx:460:40: warning: cmFileAPI::BuildReplyEntry: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  460 | Json::Value cmFileAPI::BuildReplyEntry(Object const& object)
      |                                        ^~~~~~~~~~~~~~~~~~~~
      |                                        Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:484:51: warning: cmFileAPI::AddReplyIndexObject: Pass small and trivially-copyable type by value (const Object & o) [-Wclazy-function-args-by-value]
  484 | Json::Value const& cmFileAPI::AddReplyIndexObject(Object const& o)
      |                                                   ^~~~~~~~~~~~~~~
      |                                                   Object o
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:518:35: warning: cmFileAPI::ObjectName: Pass small and trivially-copyable type by value (const Object & o) [-Wclazy-function-args-by-value]
  518 | std::string cmFileAPI::ObjectName(Object const& o)
      |                                   ^~~~~~~~~~~~~~~
      |                                   Object o
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:532:36: warning: cmFileAPI::BuildObject: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  532 | Json::Value cmFileAPI::BuildObject(Object const& object)
      |                                    ^~~~~~~~~~~~~~~~~~~~
      |                                    Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:810:39: warning: cmFileAPI::BuildCodeModel: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  810 | Json::Value cmFileAPI::BuildCodeModel(Object const& object)
      |                                       ^~~~~~~~~~~~~~~~~~~~
      |                                       Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:845:42: warning: cmFileAPI::BuildConfigureLog: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  845 | Json::Value cmFileAPI::BuildConfigureLog(Object const& object)
      |                                          ^~~~~~~~~~~~~~~~~~~~
      |                                          Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:879:35: warning: cmFileAPI::BuildCache: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  879 | Json::Value cmFileAPI::BuildCache(Object const& object)
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:913:40: warning: cmFileAPI::BuildCMakeFiles: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  913 | Json::Value cmFileAPI::BuildCMakeFiles(Object const& object)
      |                                        ^~~~~~~~~~~~~~~~~~~~
      |                                        Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:947:40: warning: cmFileAPI::BuildToolchains: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  947 | Json::Value cmFileAPI::BuildToolchains(Object const& object)
      |                                        ^~~~~~~~~~~~~~~~~~~~
      |                                        Object object
/home/dp/.cache/chorse/cmake/clazy/source/Source/cmFileAPI.cxx:983:42: warning: cmFileAPI::BuildInternalTest: Pass small and trivially-copyable type by value (const Object & object) [-Wclazy-function-args-by-value]
  983 | Json::Value cmFileAPI::BuildInternalTest(Object const& object)
      |                                          ^~~~~~~~~~~~~~~~~~~~
      |                                          Object object
20 warnings generated.
Status: 0
Loading...