================ @@ -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 ---------------- steakhal wrote:
Got it. Well, it's not uncommon to assert those alongside. The rational is that the users would not really care where their warnings are coming from, so for us it is a good signal if we are doing something annoying or not. That said, that warning is also involved in unused variables and initialization so I think it has earned a justification to stay. https://github.com/llvm/llvm-project/pull/187530 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
