[all-commits] [llvm/llvm-project] 1dfb1a: [lldb] Fix some warnings in the python plugin

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Nov 12 05:57:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dfb1a85e7cbc37bf6fff9bb046c6e8be0c26b8e
      https://github.com/llvm/llvm-project/commit/1dfb1a85e7cbc37bf6fff9bb046c6e8be0c26b8e
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

  Log Message:
  -----------
  [lldb] Fix some warnings in the python plugin


  Commit: 6aa60b0514865751ea9dd208236db60eb69aaf1e
      https://github.com/llvm/llvm-project/commit/6aa60b0514865751ea9dd208236db60eb69aaf1e
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M lldb/include/lldb/Core/SearchFilter.h
    M lldb/include/lldb/Host/SocketAddress.h
    M lldb/include/lldb/Utility/StringExtractorGDBRemote.h
    M lldb/source/Core/SearchFilter.cpp
    M lldb/source/Host/common/SocketAddress.cpp
    M lldb/source/Host/common/TCPSocket.cpp

  Log Message:
  -----------
  [lldb] Fix more -Wdeprecated-copy warnings

This warning triggers when a class defines a copy constructor but not a
copy-assignment operator (which then gets auto-generated by the
compiler). Fix the warning by deleting the other operator too, as the
default implementation works just fine.


Compare: https://github.com/llvm/llvm-project/compare/5022a5fcaef9...6aa60b051486


More information about the All-commits mailing list