[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-12 Thread Artem Dergachev via cfe-commits
https://github.com/haoNoQ closed https://github.com/llvm/llvm-project/pull/80934 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-09 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa updated https://github.com/llvm/llvm-project/pull/80934 >From 9154815c48578df9ee384a9707dd79ee64259cea Mon Sep 17 00:00:00 2001 From: Ryosuke Niwa Date: Tue, 6 Feb 2024 20:10:33 -0800 Subject: [PATCH 1/2] [alpha.webkit.UncountedCallArgsChecker] Fix an implicit cast to

[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-09 Thread Artem Dergachev via cfe-commits
https://github.com/haoNoQ approved this pull request. https://github.com/llvm/llvm-project/pull/80934 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-06 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa updated https://github.com/llvm/llvm-project/pull/80934 >From 9154815c48578df9ee384a9707dd79ee64259cea Mon Sep 17 00:00:00 2001 From: Ryosuke Niwa Date: Tue, 6 Feb 2024 20:10:33 -0800 Subject: [PATCH] [alpha.webkit.UncountedCallArgsChecker] Fix an implicit cast to a

[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ryosuke Niwa (rniwa) Changes The bug was caused by isRefCountable erroneously returning false for a class with both ref() and deref() functions defined because we were not resetting the base paths results between

[clang] Fix an implicit cast to a base ref counted class generates a false positive. (PR #80934)

2024-02-06 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/80934 The bug was caused by isRefCountable erroneously returning false for a class with both ref() and deref() functions defined because we were not resetting the base paths results between looking for "ref()" and