[all-commits] [llvm/llvm-project] 5c4661: [lldb] Modernize OptionValue::SetValueChangedCallback

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Jan 9 05:15:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c4661b7784115cb330996b3a6461c5927339aef
      https://github.com/llvm/llvm-project/commit/5c4661b7784115cb330996b3a6461c5927339aef
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/OptionValue.h
    M lldb/include/lldb/Interpreter/OptionValueProperties.h
    M lldb/include/lldb/Interpreter/Property.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/lldb-private-interfaces.h
    M lldb/source/Interpreter/OptionValueProperties.cpp
    M lldb/source/Interpreter/Property.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] Modernize OptionValue::SetValueChangedCallback

instead of a function pointer + void*, take a std::function. This
removes a bunch of repetitive, unsafe void* casts.




More information about the All-commits mailing list