[all-commits] [llvm/llvm-project] 0af728: [lldb] Fix a -Wdeprecated-declarations warning

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Oct 26 10:35:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0af7280a5ee005737fbf1b709909d9600e2b5c75
      https://github.com/llvm/llvm-project/commit/0af7280a5ee005737fbf1b709909d9600e2b5c75
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M lldb/source/Symbol/LocateSymbolFileMacOSX.cpp

  Log Message:
  -----------
  [lldb] Fix a -Wdeprecated-declarations warning

Fixes:

    ../../lldb/source/Symbol/LocateSymbolFileMacOSX.cpp:633:26:
        warning: 'CFPropertyListCreateFromXMLData' is deprecated:
                 first deprecated in macOS 10.10 -
                 Use CFPropertyListCreateWithData instead.
                 [-Wdeprecated-declarations]
        (CFDictionaryRef)::CFPropertyListCreateFromXMLData(
                           ^

Hopefully no behavior change.

Differential Revision: https://reviews.llvm.org/D135983




More information about the All-commits mailing list