[clang] [analyzer] Ignoring `T v=v; ` idiom for uninitialized variable checker and dead store checker (PR #187530)
Ella Ma via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 19 07:43:51 PDT 2026
================
@@ -0,0 +1,65 @@
+// RUN: %clang_analyze_cc1 -xc %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection,deadcode.DeadStores \
+// RUN: -verify
+// RUN: %clang_analyze_cc1 -xc++ %s \
+// RUN: -analyzer-checker=core,debug.ExprInspection,deadcode.DeadStores \
+// RUN: -verify -w
----------------
Snape3058 wrote:
When I pushed the update, I didn't see your comments after my reply above. So, I will update that in my next push.
> I'm still interested of why are suppressing warnings.
These are frontend warnings, not related to the changes in this PR. So I think it would be unnecessary to check them.
https://github.com/llvm/llvm-project/pull/187530
More information about the cfe-commits
mailing list