summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch
diff options
context:
space:
mode:
authorarkhip0v0 <[email protected]>2025-06-23 22:49:13 +0300
committerarkhip0v0 <[email protected]>2025-06-23 23:06:32 +0300
commit128f0bb334ceb3d98401f47f570bc8b02231e014 (patch)
tree0d6c169d23c8a9752f4266c981db86de14033d1e /contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch
parentfaff5fbac2a68d292458799103fa1776d106e355 (diff)
Remove clang-analyzer-cplusplus.NewDelete
remove NewDelete commit_hash:6d412fd0dfd8c12688c8e591ae632fb281c22e04
Diffstat (limited to 'contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch')
-rw-r--r--contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch b/contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch
new file mode 100644
index 00000000000..083afc1cd8f
--- /dev/null
+++ b/contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch
@@ -0,0 +1,11 @@
+--- a/include/boost/smart_ptr/detail/shared_count.hpp
++++ b/include/boost/smart_ptr/detail/shared_count.hpp
+@@ -536,7 +536,7 @@ public:
+
+ ~weak_count() /*noexcept*/
+ {
+- if(pi_ != 0) pi_->weak_release();
++ if(pi_ != 0) pi_->weak_release(); // NOLINT
+ #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
+ id_ = 0;
+ #endif