[all-commits] [llvm/llvm-project] 51018d: [clang-tidy] Improve modernize-make-shared check (...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Nov 3 08:39:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51018d1a90542a407c78868e6be29a2492c18f5a
      https://github.com/llvm/llvm-project/commit/51018d1a90542a407c78868e6be29a2492c18f5a
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/smart-ptr/shared_ptr.h

  Log Message:
  -----------
  [clang-tidy] Improve modernize-make-shared check (#70600)

Improved modernize-make-shared check to support
std::shared_ptr implementations that inherit the
reset method from a base class.
In GCC that class is called __shared_ptr.

Fixes #64481




More information about the All-commits mailing list