[all-commits] [llvm/llvm-project] 0b8eff: [LLDB][NFC] Fix a incorrect use of shared_ptr in R...

Shivam Gupta via All-commits all-commits at lists.llvm.org
Mon Feb 6 08:38:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8eff1f8724c6d8e890227597060109cb55e1ca
      https://github.com/llvm/llvm-project/commit/0b8eff1f8724c6d8e890227597060109cb55e1ca
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h

  Log Message:
  -----------
  [LLDB][NFC] Fix a incorrect use of shared_ptr in RenderScriptRuntime.cpp

Incorrect use of shared_ptr.

found by PVS-Studio https://pvs-studio.com/en/blog/posts/cpp/1003/, N8 & N9.

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




More information about the All-commits mailing list