[all-commits] [llvm/llvm-project] a14eb8: lldb: Fix some -Wdeprecated-copy warnings

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Nov 11 08:54:39 PST 2019


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

  Changed paths:
    M lldb/include/lldb/Interpreter/OptionValue.h
    M lldb/include/lldb/Symbol/Declaration.h
    M lldb/include/lldb/Symbol/SymbolContext.h
    M lldb/include/lldb/Utility/ArchSpec.h
    M lldb/include/lldb/Utility/Broadcaster.h
    M lldb/include/lldb/Utility/FileSpec.h
    M lldb/include/lldb/Utility/Flags.h
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/include/lldb/Utility/Status.h
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/source/Utility/ArchSpec.cpp
    M lldb/source/Utility/Broadcaster.cpp
    M lldb/source/Utility/FileSpec.cpp
    M lldb/source/Utility/Scalar.cpp
    M lldb/source/Utility/Status.cpp

  Log Message:
  -----------
  lldb: Fix some -Wdeprecated-copy warnings

gcc-9 started warning when a class defined a copy constructor without a
copy assignment operator (or vice-versa).

This fixes those warnings by deleting the other special member too
(after verifying it doesn't do anything non-trivial).




More information about the All-commits mailing list