[all-commits] [llvm/llvm-project] 1c0bbe: [lldb/API] Use std::make_unique<> (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jun 24 16:29:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c0bbe4341ac0ffbaf2e1f482239b45166607f2d
      https://github.com/llvm/llvm-project/commit/1c0bbe4341ac0ffbaf2e1f482239b45166607f2d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M lldb/source/API/SBAddress.cpp
    M lldb/source/API/SBBreakpointName.cpp
    M lldb/source/API/SBCommandInterpreterRunOptions.cpp
    M lldb/source/API/SBDeclaration.cpp
    M lldb/source/API/SBError.cpp
    M lldb/source/API/SBLineEntry.cpp
    M lldb/source/API/SBProcessInfo.cpp
    M lldb/source/API/SBSourceManager.cpp
    M lldb/source/API/SBStream.cpp
    M lldb/source/API/SBStringList.cpp
    M lldb/source/API/SBSymbolContext.cpp
    M lldb/source/API/SBType.cpp
    M lldb/source/API/SBTypeEnumMember.cpp
    M lldb/source/API/SBTypeSummary.cpp
    M lldb/source/API/SBValueList.cpp
    M lldb/source/API/SBVariablesOptions.cpp

  Log Message:
  -----------
  [lldb/API] Use std::make_unique<> (NFC)

I was holding off on this change until we moved to C++14 as to not have
to convert llvm::make_unique to std::make_unique. That happened a while
ago so here's the first patch for the API which had a bunch of raw
`new`s.




More information about the All-commits mailing list